diff options
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 2d49e6869..aeb8fde01 100644 --- a/server/helpers/activitypub.ts +++ b/server/helpers/activitypub.ts | |||
@@ -7,8 +7,7 @@ import { signJsonLDObject } from './peertube-crypto' | |||
7 | import { pageToStartAndCount } from './core-utils' | 7 | import { pageToStartAndCount } from './core-utils' |
8 | import { URL } from 'url' | 8 | import { URL } from 'url' |
9 | import { MActor, MVideoAccountLight } from '../typings/models' | 9 | import { MActor, MVideoAccountLight } from '../typings/models' |
10 | 10 | import { ContextType } from '@shared/models/activitypub/context' | |
11 | export type ContextType = 'All' | 'View' | 'Announce' | 'CacheFile' | ||
12 | 11 | ||
13 | function getContextData (type: ContextType) { | 12 | function getContextData (type: ContextType) { |
14 | const context: any[] = [ | 13 | const context: any[] = [ |