From e400731bbee4ed36bce09aa480de047298ebfd47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Wed, 20 May 2026 22:44:45 +0900 Subject: [PATCH] fix(backend): fix typo [ci skip] --- packages/backend/src/core/activitypub/JsonLdService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/core/activitypub/JsonLdService.ts b/packages/backend/src/core/activitypub/JsonLdService.ts index d86b9ec496..90f834ab44 100644 --- a/packages/backend/src/core/activitypub/JsonLdService.ts +++ b/packages/backend/src/core/activitypub/JsonLdService.ts @@ -35,7 +35,7 @@ export class JsonLdCacheFrozenError extends JsonLdError { } } -export class JsonLdForbiddenDriectiveError extends JsonLdError { +export class JsonLdForbiddenDirectiveError extends JsonLdError { constructor(public directive: string) { super('0297f79b-0ed9-4b6c-875f-b0a82ff96781', `${directive} is forbidden by Misskey in ActivityPub documents`); } @@ -157,7 +157,7 @@ export class JsonLd { const object = value; for (const [key, value] of Object.entries(object)) { if (JsonLd.forbiddenDirectives.has(key)) { - throw new JsonLdForbiddenDriectiveError(key); + throw new JsonLdForbiddenDirectiveError(key); } if (typeof value === 'object' && value !== null) {