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
|
||||
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
|
||||
{ auth } <- ask
|
||||
url <- branchProtectionURL u r
|
||||
|
Loading…
Reference in New Issue
Block a user