mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: 🚨 Use shortand property syntax for object literals
This commit is contained in:
parent
48ffe97849
commit
3fade63567
15 changed files with 31 additions and 31 deletions
|
|
@ -277,7 +277,7 @@ export const followRequestToVersia = (
|
|||
|
||||
return {
|
||||
type: "Follow",
|
||||
id: id,
|
||||
id,
|
||||
author: follower.getUri(),
|
||||
followee: followee.getUri(),
|
||||
created_at: new Date().toISOString(),
|
||||
|
|
@ -304,7 +304,7 @@ export const followAcceptToVersia = (
|
|||
|
||||
return {
|
||||
type: "FollowAccept",
|
||||
id: id,
|
||||
id,
|
||||
author: followee.getUri(),
|
||||
created_at: new Date().toISOString(),
|
||||
follower: follower.getUri(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue