mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-26 03:20:54 +09:00
Update activitypub.ts
This commit is contained in:
parent
4d9b52968e
commit
23477cd0ca
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user