diff --git a/src/Gitea.Repo.BranchProtections.purs b/src/Gitea.Repo.BranchProtections.purs index c103f07..530533a 100644 --- a/src/Gitea.Repo.BranchProtections.purs +++ b/src/Gitea.Repo.BranchProtections.purs @@ -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