diff options
| author | mei23 <m@m544.net> | 2018-09-01 16:39:46 +0900 |
|---|---|---|
| committer | mei23 <m@m544.net> | 2018-09-01 20:23:01 +0900 |
| commit | 795fc5e7bca45aca90815cdaa9404cdb1fd73eb6 (patch) | |
| tree | d22c1232a1f6984c538330101d9a6a053f693fee /src | |
| parent | 8.19.1 (diff) | |
| download | sharkey-795fc5e7bca45aca90815cdaa9404cdb1fd73eb6.tar.gz sharkey-795fc5e7bca45aca90815cdaa9404cdb1fd73eb6.tar.bz2 sharkey-795fc5e7bca45aca90815cdaa9404cdb1fd73eb6.zip | |
Set Person.updatedAt at first
Diffstat (limited to 'src')
| -rw-r--r-- | src/remote/activitypub/models/person.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index 3bd4e16763..212a1c5ee6 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -139,6 +139,7 @@ export async function createPerson(uri: string, resolver?: Resolver): Promise<IU avatarId: null, bannerId: null, createdAt: Date.parse(person.published) || null, + updatedAt: new Date(), description: htmlToMFM(person.summary), followersCount, followingCount, |