generated from tpl/purs
fix: list branch protections type
This commit is contained in:
parent
0bab60e1fb
commit
032ff8fa63
@ -28,7 +28,7 @@ get u r b = do
|
|||||||
rep <- HTTP.fetch $ HTTP.GET /\ url /\ Auth.headers auth
|
rep <- HTTP.fetch $ HTTP.GET /\ url /\ Auth.headers auth
|
||||||
Error.tryGetRepJSON rep
|
Error.tryGetRepJSON rep
|
||||||
|
|
||||||
list :: forall m. MonadAff m => Username -> RepoName -> GiteaT m (Record BranchProtection)
|
list :: forall m. MonadAff m => Username -> RepoName -> GiteaT m (Array (Record BranchProtection))
|
||||||
list u r = do
|
list u r = do
|
||||||
{ auth } <- ask
|
{ auth } <- ask
|
||||||
url <- branchProtectionURL u r
|
url <- branchProtectionURL u r
|
||||||
|
Loading…
Reference in New Issue
Block a user