Update activitypub.ts

This commit is contained in:
syuilo 2024-09-22 10:12:25 +09:00
parent 23477cd0ca
commit ec154c3cf8
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ describe('ActivityPub', () => {
sensitiveWords: [] as string[], sensitiveWords: [] as string[],
prohibitedWords: [] as string[], prohibitedWords: [] as string[],
} as MiMeta; } as MiMeta;
const meta = metaInitial; const meta = { ...metaInitial };
function updateMeta(newMeta: Partial<MiMeta>): void { function updateMeta(newMeta: Partial<MiMeta>): void {
for (const key in meta) { for (const key in meta) {