Update activitypub.ts
This commit is contained in:
parent
23477cd0ca
commit
ec154c3cf8
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue