From e3bb78a2134a5e5755b6dbd8987894572ca31269 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Feb 2018 16:08:32 +0100 Subject: Fix lint --- server/lib/activitypub/fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib') diff --git a/server/lib/activitypub/fetch.ts b/server/lib/activitypub/fetch.ts index 549791f14..a8eefff80 100644 --- a/server/lib/activitypub/fetch.ts +++ b/server/lib/activitypub/fetch.ts @@ -8,7 +8,7 @@ async function addFetchOutboxJob (actor: ActorModel) { const serverActor = await getServerActor() if (serverActor.id === actor.id) { logger.error('Cannot fetch our own outbox!') - return + return undefined } const payload = { -- cgit v1.2.3