Update activitypub.ts

This commit is contained in:
syuilo 2024-09-22 10:04:57 +09:00
parent 4d9b52968e
commit 23477cd0ca
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@ describe('ActivityPub', () => {
const meta = metaInitial;
function updateMeta(newMeta: Partial<MiMeta>): void {
for (const key in meta) {
delete (meta as any)[key];
}
Object.assign(meta, newMeta);
}