summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/repo/collaborators.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/repo/collaborators.go')
-rw-r--r--routers/api/v1/repo/collaborators.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/collaborators.go b/routers/api/v1/repo/collaborators.go
index 2f254f7103..be4a65f9c8 100644
--- a/routers/api/v1/repo/collaborators.go
+++ b/routers/api/v1/repo/collaborators.go
@@ -92,7 +92,7 @@ func IsCollaborator(ctx *context.APIContext) {
if isColab {
ctx.Status(204)
} else {
- ctx.Status(404)
+ ctx.NotFound()
}
}