aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-12 17:26:40 +0200
committerChocobozzz <me@florianbigard.com>2018-10-16 16:41:36 +0200
commitaf5767ffae41b2d5604e41ba9a7225c623dd6735 (patch)
treeb96787bd134fe04d3d042795636df4bf17b5991f /shared
parent7ad9b9846c44d198a736183fb186c2039f5236b5 (diff)
downloadPeerTube-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.ts2
-rw-r--r--shared/models/blocklist/server-block.model.ts2
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
3export interface AccountBlock { 3export 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
3export interface ServerBlock { 3export 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