1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

Don't expose constants directly in initializers/

This commit is contained in:
Chocobozzz 2019-04-11 14:26:41 +02:00
parent 6dd9de95df
commit 74dc3bca2b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
114 changed files with 168 additions and 144 deletions

View file

@ -2,7 +2,7 @@ import { buildSignedActivity } from '../../../../helpers/activitypub'
import { getServerActor } from '../../../../helpers/utils'
import { ActorModel } from '../../../../models/activitypub/actor'
import { sha256 } from '../../../../helpers/core-utils'
import { HTTP_SIGNATURE } from '../../../../initializers'
import { HTTP_SIGNATURE } from '../../../../initializers/constants'
type Payload = { body: any, signatureActorId?: number }