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