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/helpers/webfinger.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/helpers/webfinger.ts') diff --git a/server/helpers/webfinger.ts b/server/helpers/webfinger.ts index 0155e5f3e..31417e728 100644 --- a/server/helpers/webfinger.ts +++ b/server/helpers/webfinger.ts @@ -3,7 +3,7 @@ import * as WebFinger from 'webfinger.js' import { isTestInstance } from './core-utils' import { isActivityPubUrlValid } from './custom-validators' import { WebFingerData } from '../../shared' -import { fetchRemoteAccountAndCreatePod } from './activitypub' +import { fetchRemoteAccountAndCreateServer } from './activitypub' const webfinger = new WebFinger({ webfist_fallback: false, @@ -22,8 +22,8 @@ async function getAccountFromWebfinger (nameWithHost: string) { throw new Error('Cannot find self link or href is not a valid URL.') } - const res = await fetchRemoteAccountAndCreatePod(selfLink.href) - if (res === undefined) throw new Error('Cannot fetch and create pod of remote account ' + selfLink.href) + const res = await fetchRemoteAccountAndCreateServer(selfLink.href) + if (res === undefined) throw new Error('Cannot fetch and create server of remote account ' + selfLink.href) return res.account } -- cgit v1.2.3