Skip to content

Commit 569d9f2

Browse files
committed
return
1 parent e5ef362 commit 569d9f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/api/v1/api.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ func mustEnableUserHeatmap(ctx *context.Context) {
374374
func mustNotBeArchived(ctx *context.Context) {
375375
if ctx.Repo.Repository.IsArchived {
376376
ctx.Status(404)
377+
return
377378
}
378379
}
379380

0 commit comments

Comments
 (0)