Skip to content

Commit 2623867

Browse files
committed
Fix history routing
1 parent 3915ab8 commit 2623867

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

share-api/src/Share/Web/Share/Branches/API.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ type ProjectBranchesAPI =
2121
type ProjectBranchResourceAPI =
2222
( ("readme" :> ProjectBranchReadmeEndpoint)
2323
:<|> ("releaseNotes" :> ProjectBranchReleaseNotesEndpoint)
24+
:<|> ("history" :> ProjectBranchHistoryEndpoint)
2425
:<|> ProjectBranchDetailsEndpoint
2526
:<|> ProjectBranchDeleteEndpoint
26-
:<|> ProjectBranchHistoryEndpoint
2727
:<|> CodeBrowseAPI
2828
)
2929

share-api/src/Share/Web/Share/Branches/Impl.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ branchesServer session userHandle projectSlug =
8888
hoistServer (Proxy @API.ProjectBranchResourceAPI) (addTags branchShortHand) $
8989
( getProjectBranchReadmeEndpoint session userHandle projectSlug branchShortHand
9090
:<|> getProjectBranchReleaseNotesEndpoint session userHandle projectSlug branchShortHand
91+
:<|> branchHistoryEndpoint session userHandle projectSlug branchShortHand
9192
:<|> getProjectBranchDetailsEndpoint session userHandle projectSlug branchShortHand
9293
:<|> deleteProjectBranchEndpoint session userHandle projectSlug branchShortHand
93-
:<|> branchHistoryEndpoint session userHandle projectSlug branchShortHand
9494
:<|> branchCodeBrowsingServer session userHandle projectSlug branchShortHand
9595
)
9696
)

0 commit comments

Comments
 (0)