From 608624252466acf9f1d9ee1c1170bd4fe4d18d18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Nov 2017 11:00:25 +0100 Subject: Rename Pod -> Server --- server/middlewares/activitypub.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/middlewares/activitypub.ts') diff --git a/server/middlewares/activitypub.ts b/server/middlewares/activitypub.ts index bed2bfeab..0ea522e5c 100644 --- a/server/middlewares/activitypub.ts +++ b/server/middlewares/activitypub.ts @@ -1,7 +1,7 @@ import { NextFunction, Request, Response, RequestHandler } from 'express' import { ActivityPubSignature } from '../../shared' import { isSignatureVerified, logger } from '../helpers' -import { fetchRemoteAccountAndCreatePod } from '../helpers/activitypub' +import { fetchRemoteAccountAndCreateServer } from '../helpers/activitypub' import { database as db, ACTIVITY_PUB_ACCEPT_HEADER } from '../initializers' import { each, eachSeries, waterfall } from 'async' @@ -14,7 +14,7 @@ async function checkSignature (req: Request, res: Response, next: NextFunction) // We don't have this account in our database, fetch it on remote if (!account) { - const accountResult = await fetchRemoteAccountAndCreatePod(signatureObject.creator) + const accountResult = await fetchRemoteAccountAndCreateServer(signatureObject.creator) if (!accountResult) { return res.sendStatus(403) -- cgit v1.2.3