0
0

Fix syntax error (#3477)

src/remote/activitypub/models/person.ts(326,4): error TS1005: ',' expected.
This commit is contained in:
nico 2018-12-02 13:19:28 +01:00 committed by syuilo
parent 5f33713f53
commit 2633873fcc

View File

@ -322,7 +322,7 @@ export async function updatePerson(uri: string, resolver?: Resolver, hint?: obje
url: person.url,
endpoints: person.endpoints,
isBot: object.type == 'Service',
isCat: (person as any).isCat === true
isCat: (person as any).isCat === true,
isLocked: person.manuallyApprovesFollowers,
createdAt: Date.parse(person.published) || null,
publicKey: {