summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/user/follower.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/user/follower.go')
-rw-r--r--routers/api/v1/user/follower.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user/follower.go b/routers/api/v1/user/follower.go
index 284b7323c3..c2f0c6e651 100644
--- a/routers/api/v1/user/follower.go
+++ b/routers/api/v1/user/follower.go
@@ -113,7 +113,7 @@ func checkUserFollowing(ctx *context.APIContext, u *models.User, followID int64)
if u.IsFollowing(followID) {
ctx.Status(204)
} else {
- ctx.Status(404)
+ ctx.NotFound()
}
}