{-# LANGUAGE OverloadedStrings #-}
module GitLab.API.Todos where
import GitLab.Types
import GitLab.WebRequests.GitLabWebCalls
todos :: GitLab [Todo]
todos :: GitLab [Todo]
todos = GitLab (Either (Response ByteString) (Maybe [Todo]))
-> GitLab [Todo]
forall a b. GitLab (Either a (Maybe b)) -> GitLab b
gitlabUnsafe (Text
-> [GitLabParam]
-> GitLab (Either (Response ByteString) (Maybe [Todo]))
forall a.
FromJSON a =>
Text
-> [GitLabParam] -> GitLab (Either (Response ByteString) (Maybe a))
gitlabGetOne Text
"/todos" [])