Set Person.updatedAt at first

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

View File

@ -139,6 +139,7 @@ export async function createPerson(uri: string, resolver?: Resolver): Promise<IU
avatarId: null, avatarId: null,
bannerId: null, bannerId: null,
createdAt: Date.parse(person.published) || null, createdAt: Date.parse(person.published) || null,
updatedAt: new Date(),
description: htmlToMFM(person.summary), description: htmlToMFM(person.summary),
followersCount, followersCount,
followingCount, followingCount,