diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-12 02:22:22 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-12 02:22:22 +0900 |
| commit | b89cffe98d9ea4b8e6e0ede8e61a1d8531e50d89 (patch) | |
| tree | 55f10ab18dad8143b5448e7c6e02d4b039cebb0e /src/remote | |
| parent | :art: (diff) | |
| download | sharkey-b89cffe98d9ea4b8e6e0ede8e61a1d8531e50d89.tar.gz sharkey-b89cffe98d9ea4b8e6e0ede8e61a1d8531e50d89.tar.bz2 sharkey-b89cffe98d9ea4b8e6e0ede8e61a1d8531e50d89.zip | |
Fix bug
Diffstat (limited to 'src/remote')
| -rw-r--r-- | src/remote/activitypub/models/person.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/models/person.ts b/src/remote/activitypub/models/person.ts index 58aca48eb0..e7021956de 100644 --- a/src/remote/activitypub/models/person.ts +++ b/src/remote/activitypub/models/person.ts @@ -143,7 +143,7 @@ export async function createPerson(uri: string, resolver?: Resolver): Promise<Us id: genId(), avatarId: null, bannerId: null, - createdAt: new Date(person.published) || new Date(), + createdAt: new Date(), lastFetchedAt: new Date(), name: person.name, isLocked: person.manuallyApprovesFollowers, |