diff options
Diffstat (limited to 'routers/api/v1/user/watch.go')
-rw-r--r-- | routers/api/v1/user/watch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user/watch.go b/routers/api/v1/user/watch.go index 4afa18be2a..2ce0be2ff0 100644 --- a/routers/api/v1/user/watch.go +++ b/routers/api/v1/user/watch.go @@ -103,7 +103,7 @@ func IsWatching(ctx *context.APIContext) { RepositoryURL: repositoryURL(ctx.Repo.Repository), }) } else { - ctx.Status(404) + ctx.NotFound() } } |