summaryrefslogtreecommitdiff
path: root/packages/backend/src/models/entities/blocking.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-12-09 23:58:30 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-12-09 23:58:30 +0900
commitc69b72e1999578cba15e34677ebd366482cba734 (patch)
tree624ac6500e36e3a7024a5ea19ae891ef86781d04 /packages/backend/src/models/entities/blocking.ts
parentUpdate instance-mute.vue (diff)
downloadmisskey-c69b72e1999578cba15e34677ebd366482cba734.tar.gz
misskey-c69b72e1999578cba15e34677ebd366482cba734.tar.bz2
misskey-c69b72e1999578cba15e34677ebd366482cba734.zip
fix lint
Diffstat (limited to 'packages/backend/src/models/entities/blocking.ts')
-rw-r--r--packages/backend/src/models/entities/blocking.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/backend/src/models/entities/blocking.ts b/packages/backend/src/models/entities/blocking.ts
index 48487cb086..aacbfef7fd 100644
--- a/packages/backend/src/models/entities/blocking.ts
+++ b/packages/backend/src/models/entities/blocking.ts
@@ -10,19 +10,19 @@ export class Blocking {
@Index()
@Column('timestamp with time zone', {
- comment: 'The created date of the Blocking.'
+ comment: 'The created date of the Blocking.',
})
public createdAt: Date;
@Index()
@Column({
...id(),
- comment: 'The blockee user ID.'
+ comment: 'The blockee user ID.',
})
public blockeeId: User['id'];
@ManyToOne(type => User, {
- onDelete: 'CASCADE'
+ onDelete: 'CASCADE',
})
@JoinColumn()
public blockee: User | null;
@@ -30,12 +30,12 @@ export class Blocking {
@Index()
@Column({
...id(),
- comment: 'The blocker user ID.'
+ comment: 'The blocker user ID.',
})
public blockerId: User['id'];
@ManyToOne(type => User, {
- onDelete: 'CASCADE'
+ onDelete: 'CASCADE',
})
@JoinColumn()
public blocker: User | null;