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 4b30e3ee9f
commit 9d55b91ffb

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: {