aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/lib/activitypub/context.ts2
-rw-r--r--server/tests/api/activitypub/helpers.ts1
2 files changed, 2 insertions, 1 deletions
diff --git a/server/lib/activitypub/context.ts b/server/lib/activitypub/context.ts
index b452cf9b3..5d6aee315 100644
--- a/server/lib/activitypub/context.ts
+++ b/server/lib/activitypub/context.ts
@@ -179,7 +179,7 @@ function buildContext (contextValue?: ContextValue) {
179 179
180 { 180 {
181 pt: 'https://joinpeertube.org/ns#', 181 pt: 'https://joinpeertube.org/ns#',
182 sc: 'http://schema.org#', 182 sc: 'http://schema.org/',
183 183
184 ...contextValue 184 ...contextValue
185 } 185 }
diff --git a/server/tests/api/activitypub/helpers.ts b/server/tests/api/activitypub/helpers.ts
index bc1de35d1..56de7a879 100644
--- a/server/tests/api/activitypub/helpers.ts
+++ b/server/tests/api/activitypub/helpers.ts
@@ -9,6 +9,7 @@ import { buildAbsoluteFixturePath } from '@shared/core-utils'
9import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto' 9import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto'
10 10
11describe('Test activity pub helpers', function () { 11describe('Test activity pub helpers', function () {
12
12 describe('When checking the Linked Signature', function () { 13 describe('When checking the Linked Signature', function () {
13 14
14 it('Should fail with an invalid Mastodon signature', async function () { 15 it('Should fail with an invalid Mastodon signature', async function () {