diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2021-10-31 15:18:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-31 15:18:46 +0900 |
| commit | f47a564819500d801c76fe327fec276b4bfa9989 (patch) | |
| tree | cf29eff635fb80c87a7f35533d50c46cbd8c4fc7 /src/remote/activitypub/renderer/update.ts | |
| parent | fix e2e test (diff) | |
| download | sharkey-f47a564819500d801c76fe327fec276b4bfa9989.tar.gz sharkey-f47a564819500d801c76fe327fec276b4bfa9989.tar.bz2 sharkey-f47a564819500d801c76fe327fec276b4bfa9989.zip | |
fix: Fix #7895 (#7937)
* Fix #7895
* CHANGELOG
Diffstat (limited to 'src/remote/activitypub/renderer/update.ts')
| -rw-r--r-- | src/remote/activitypub/renderer/update.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/update.ts b/src/remote/activitypub/renderer/update.ts index d9a8149af3..8bb415d117 100644 --- a/src/remote/activitypub/renderer/update.ts +++ b/src/remote/activitypub/renderer/update.ts @@ -7,7 +7,8 @@ export default (object: any, user: { id: User['id'] }) => { actor: `${config.url}/users/${user.id}`, type: 'Update', to: [ 'https://www.w3.org/ns/activitystreams#Public' ], - object + object, + published: new Date().toISOString(), } as any; return activity; |