diff options
author | Florent <florent.git@zeteo.me> | 2022-08-06 15:20:43 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-08-08 08:25:36 +0200 |
commit | 7e0f50d6e0c7dc583d40e196c283eb20dc386ae6 (patch) | |
tree | a44a68f32dafb3ff3b4a6b1a88f7718423d676b9 /server/lib | |
parent | 2c9c6e653e896b9815b360bd566a657999fffb31 (diff) | |
download | PeerTube-7e0f50d6e0c7dc583d40e196c283eb20dc386ae6.tar.gz PeerTube-7e0f50d6e0c7dc583d40e196c283eb20dc386ae6.tar.zst PeerTube-7e0f50d6e0c7dc583d40e196c283eb20dc386ae6.zip |
Use single quotes in server/ and update eslint rules
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/activity.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/activity.ts b/server/lib/activitypub/activity.ts index ba2967ce9..1f6ec221e 100644 --- a/server/lib/activitypub/activity.ts +++ b/server/lib/activitypub/activity.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { ActivityType } from "@shared/models" | 1 | import { ActivityType } from '@shared/models' |
2 | 2 | ||
3 | function getAPId (object: string | { id: string }) { | 3 | function getAPId (object: string | { id: string }) { |
4 | if (typeof object === 'string') return object | 4 | if (typeof object === 'string') return object |