diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-12 17:26:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-16 16:41:36 +0200 |
commit | af5767ffae41b2d5604e41ba9a7225c623dd6735 (patch) | |
tree | b96787bd134fe04d3d042795636df4bf17b5991f /shared | |
parent | 7ad9b9846c44d198a736183fb186c2039f5236b5 (diff) | |
download | PeerTube-af5767ffae41b2d5604e41ba9a7225c623dd6735.tar.gz PeerTube-af5767ffae41b2d5604e41ba9a7225c623dd6735.tar.zst PeerTube-af5767ffae41b2d5604e41ba9a7225c623dd6735.zip |
Add user/instance block by users in the client
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/blocklist/account-block.model.ts | 2 | ||||
-rw-r--r-- | shared/models/blocklist/server-block.model.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared/models/blocklist/account-block.model.ts b/shared/models/blocklist/account-block.model.ts index d6f8840c5..a942ed614 100644 --- a/shared/models/blocklist/account-block.model.ts +++ b/shared/models/blocklist/account-block.model.ts | |||
@@ -2,6 +2,6 @@ import { Account } from '../actors' | |||
2 | 2 | ||
3 | export interface AccountBlock { | 3 | export interface AccountBlock { |
4 | byAccount: Account | 4 | byAccount: Account |
5 | accountBlocked: Account | 5 | blockedAccount: Account |
6 | createdAt: Date | string | 6 | createdAt: Date | string |
7 | } | 7 | } |
diff --git a/shared/models/blocklist/server-block.model.ts b/shared/models/blocklist/server-block.model.ts index efba672bd..a8b8af0b7 100644 --- a/shared/models/blocklist/server-block.model.ts +++ b/shared/models/blocklist/server-block.model.ts | |||
@@ -2,7 +2,7 @@ import { Account } from '../actors' | |||
2 | 2 | ||
3 | export interface ServerBlock { | 3 | export interface ServerBlock { |
4 | byAccount: Account | 4 | byAccount: Account |
5 | serverBlocked: { | 5 | blockedServer: { |
6 | host: string | 6 | host: string |
7 | } | 7 | } |
8 | createdAt: Date | string | 8 | createdAt: Date | string |