diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-16 15:25:20 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | 06a05d5f4784a7cbb27aa1188385b5679845dad8 (patch) | |
tree | ac197f3ed0768529456225ad76c912f22bc55e29 /server/initializers/constants.ts | |
parent | 4bda2e47bbc937c401ddcf14c1be53c70481a294 (diff) | |
download | PeerTube-06a05d5f4784a7cbb27aa1188385b5679845dad8.tar.gz PeerTube-06a05d5f4784a7cbb27aa1188385b5679845dad8.tar.zst PeerTube-06a05d5f4784a7cbb27aa1188385b5679845dad8.zip |
Add subscriptions endpoints to REST API
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index bce797159..7e865fe3b 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -31,6 +31,7 @@ const PAGINATION = { | |||
31 | // Sortable columns per schema | 31 | // Sortable columns per schema |
32 | const SORTABLE_COLUMNS = { | 32 | const SORTABLE_COLUMNS = { |
33 | USERS: [ 'id', 'username', 'createdAt' ], | 33 | USERS: [ 'id', 'username', 'createdAt' ], |
34 | USER_SUBSCRIPTIONS: [ 'id', 'createdAt' ], | ||
34 | ACCOUNTS: [ 'createdAt' ], | 35 | ACCOUNTS: [ 'createdAt' ], |
35 | JOBS: [ 'createdAt' ], | 36 | JOBS: [ 'createdAt' ], |
36 | VIDEO_ABUSES: [ 'id', 'createdAt', 'state' ], | 37 | VIDEO_ABUSES: [ 'id', 'createdAt', 'state' ], |