aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/activitypub.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-07 14:56:07 +0100
committerChocobozzz <me@florianbigard.com>2020-01-07 15:56:07 +0100
commit7cde3b9c2e84ea20bb0aae4544598483cde9e22c (patch)
tree0860fd5a78127b2cf944b62eb88dc7e1ac3a3ddc /server/helpers/activitypub.ts
parent60815a79219b13da2127ddbbf3bf6ab8853431c5 (diff)
downloadPeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.tar.gz
PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.tar.zst
PeerTube-7cde3b9c2e84ea20bb0aae4544598483cde9e22c.zip
Update validator dependency
Diffstat (limited to 'server/helpers/activitypub.ts')
-rw-r--r--server/helpers/activitypub.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/helpers/activitypub.ts b/server/helpers/activitypub.ts
index 97c809a0c..735f2d73a 100644
--- a/server/helpers/activitypub.ts
+++ b/server/helpers/activitypub.ts
@@ -1,9 +1,8 @@
1import * as Bluebird from 'bluebird' 1import * as Bluebird from 'bluebird'
2import * as validator from 'validator' 2import validator from 'validator'
3import { ResultList } from '../../shared/models' 3import { ResultList } from '../../shared/models'
4import { Activity } from '../../shared/models/activitypub' 4import { Activity } from '../../shared/models/activitypub'
5import { ACTIVITY_PUB } from '../initializers/constants' 5import { ACTIVITY_PUB } from '../initializers/constants'
6import { ActorModel } from '../models/activitypub/actor'
7import { signJsonLDObject } from './peertube-crypto' 6import { signJsonLDObject } from './peertube-crypto'
8import { pageToStartAndCount } from './core-utils' 7import { pageToStartAndCount } from './core-utils'
9import { parse } from 'url' 8import { parse } from 'url'