Add missing updatePerson properties

This commit is contained in:
mei23 2018-09-01 16:46:41 +09:00
parent 795fc5e7bc
commit eee98358ac

View file

@ -291,7 +291,9 @@ export async function updatePerson(uri: string, resolver?: Resolver): Promise<vo
name: person.name, name: person.name,
url: person.url, url: person.url,
endpoints: person.endpoints, endpoints: person.endpoints,
isCat: (person as any).isCat === true ? true : false isBot: object.type == 'Service',
isCat: (person as any).isCat === true ? true : false,
isLocked: person.manuallyApprovesFollowers
} }
}); });
} }