aboutsummaryrefslogtreecommitdiff
path: root/route/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'route/util.go')
-rw-r--r--route/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/route/util.go b/route/util.go
index defa60e..131cf5a 100644
--- a/route/util.go
+++ b/route/util.go
@@ -186,7 +186,7 @@ func ParseOutboxRequest(ctx *fiber.Ctx, actor activitypub.Actor) error {
return util.MakeError(err, "ParseOutboxRequest")
}
- if res, err := activity.IsLocal(); err == nil && res {
+ if res, _ := activity.IsLocal(); res {
if res := activity.Actor.VerifyHeaderSignature(ctx); err == nil && !res {
ctx.Response().Header.Set("Status", "403")
_, err = ctx.Write([]byte(""))