diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 8bb1822baa22c..7e7bf6a50b82d 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -374,6 +374,7 @@ func mustEnableUserHeatmap(ctx *context.Context) { func mustNotBeArchived(ctx *context.Context) { if ctx.Repo.Repository.IsArchived { ctx.Status(404) + return } }