diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-25 15:19:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-25 15:20:30 +0200 |
commit | c28bcdd10a5a0d661e51c96345bbd6c4dcc43bc9 (patch) | |
tree | 5e3590d33c450f3937a09cc665c3220fc9ab5260 /server/lib/activitypub | |
parent | c0e71e849a40871ed8eea3dacd8608d380bdb490 (diff) | |
download | PeerTube-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.ts | 3 |
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' | |||
3 | import { logger } from '../../helpers/logger' | 3 | import { logger } from '../../helpers/logger' |
4 | import * as Bluebird from 'bluebird' | 4 | import * as Bluebird from 'bluebird' |
5 | import { ActivityPubOrderedCollection } from '../../../shared/models/activitypub' | 5 | import { ActivityPubOrderedCollection } from '../../../shared/models/activitypub' |
6 | import { checkUrlsSameHost } from '../../helpers/activitypub' | 6 | import { parse } from 'url' |
7 | import { parse } from "url" | ||
8 | 7 | ||
9 | type HandlerFunction<T> = (items: T[]) => (Promise<any> | Bluebird<any>) | 8 | type HandlerFunction<T> = (items: T[]) => (Promise<any> | Bluebird<any>) |
10 | type CleanerFunction = (startedDate: Date) => (Promise<any> | Bluebird<any>) | 9 | type CleanerFunction = (startedDate: Date) => (Promise<any> | Bluebird<any>) |