diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-07 14:56:07 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-07 15:56:07 +0100 |
commit | 7cde3b9c2e84ea20bb0aae4544598483cde9e22c (patch) | |
tree | 0860fd5a78127b2cf944b62eb88dc7e1ac3a3ddc /server/helpers/activitypub.ts | |
parent | 60815a79219b13da2127ddbbf3bf6ab8853431c5 (diff) | |
download | PeerTube-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.ts | 3 |
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 @@ | |||
1 | import * as Bluebird from 'bluebird' | 1 | import * as Bluebird from 'bluebird' |
2 | import * as validator from 'validator' | 2 | import validator from 'validator' |
3 | import { ResultList } from '../../shared/models' | 3 | import { ResultList } from '../../shared/models' |
4 | import { Activity } from '../../shared/models/activitypub' | 4 | import { Activity } from '../../shared/models/activitypub' |
5 | import { ACTIVITY_PUB } from '../initializers/constants' | 5 | import { ACTIVITY_PUB } from '../initializers/constants' |
6 | import { ActorModel } from '../models/activitypub/actor' | ||
7 | import { signJsonLDObject } from './peertube-crypto' | 6 | import { signJsonLDObject } from './peertube-crypto' |
8 | import { pageToStartAndCount } from './core-utils' | 7 | import { pageToStartAndCount } from './core-utils' |
9 | import { parse } from 'url' | 8 | import { parse } from 'url' |