diff --git a/routers/api/v1/activitypub/person.go b/routers/api/v1/activitypub/person.go index 5d919df912..638ea2ae4e 100644 --- a/routers/api/v1/activitypub/person.go +++ b/routers/api/v1/activitypub/person.go @@ -36,7 +36,7 @@ func Person(ctx *context.APIContext) { user := user.GetUserByParamsName(ctx, "username") if user == nil { - return + return } username := ctx.Params("username")