mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-03-13 12:28:26 +01:00
Update activitypub.ts
This commit is contained in:
parent
4d9b52968e
commit
23477cd0ca
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue