aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-25 15:19:53 +0200
committerChocobozzz <me@florianbigard.com>2019-04-25 15:20:30 +0200
commitc28bcdd10a5a0d661e51c96345bbd6c4dcc43bc9 (patch)
tree5e3590d33c450f3937a09cc665c3220fc9ab5260 /server/lib/activitypub
parentc0e71e849a40871ed8eea3dacd8608d380bdb490 (diff)
downloadPeerTube-c28bcdd10a5a0d661e51c96345bbd6c4dcc43bc9.tar.gz
PeerTube-c28bcdd10a5a0d661e51c96345bbd6c4dcc43bc9.tar.zst
PeerTube-c28bcdd10a5a0d661e51c96345bbd6c4dcc43bc9.zip
Fix pleroma follow
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/crawl.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/activitypub/crawl.ts b/server/lib/activitypub/crawl.ts
index 0ba59b47d..686eef04d 100644
--- a/server/lib/activitypub/crawl.ts
+++ b/server/lib/activitypub/crawl.ts
@@ -3,8 +3,7 @@ import { doRequest } from '../../helpers/requests'
3import { logger } from '../../helpers/logger' 3import { logger } from '../../helpers/logger'
4import * as Bluebird from 'bluebird' 4import * as Bluebird from 'bluebird'
5import { ActivityPubOrderedCollection } from '../../../shared/models/activitypub' 5import { ActivityPubOrderedCollection } from '../../../shared/models/activitypub'
6import { checkUrlsSameHost } from '../../helpers/activitypub' 6import { parse } from 'url'
7import { parse } from "url"
8 7
9type HandlerFunction<T> = (items: T[]) => (Promise<any> | Bluebird<any>) 8type HandlerFunction<T> = (items: T[]) => (Promise<any> | Bluebird<any>)
10type CleanerFunction = (startedDate: Date) => (Promise<any> | Bluebird<any>) 9type CleanerFunction = (startedDate: Date) => (Promise<any> | Bluebird<any>)