Fix Opening
This commit is contained in:
parent
437368998b
commit
725b9d6f50
@ -57,5 +57,5 @@ pushRepo repoDir commit targetRepoUrl targetBranchName chan = do
|
|||||||
|
|
||||||
checkWhetherUserRepo :: SubmissionId -> Handler Bool
|
checkWhetherUserRepo :: SubmissionId -> Handler Bool
|
||||||
checkWhetherUserRepo submissionId = do
|
checkWhetherUserRepo submissionId = do
|
||||||
userId <- requireAuthId
|
Entity userId _ <- requireAuthPossiblyByToken
|
||||||
runDB $ checkWhetherGivenUserRepo userId submissionId
|
runDB $ checkWhetherGivenUserRepo userId submissionId
|
||||||
|
Loading…
Reference in New Issue
Block a user