aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-09 10:42:07 +0200
committerChocobozzz <me@florianbigard.com>2019-04-09 10:42:07 +0200
commit8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac (patch)
tree10fb184225bea38057979019c0427f893b03f77c /server
parent846751c98b8704c09234688be6e7e23b837a3739 (diff)
downloadPeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.tar.gz
PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.tar.zst
PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.zip
Add new instance follower notification in client
Diffstat (limited to 'server')
-rw-r--r--server/initializers/constants.ts2
-rw-r--r--server/models/account/user-notification.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 7d9ffc668..78dd7cb9d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -18,7 +18,7 @@ let config: IConfig = require('config')
18 18
19// --------------------------------------------------------------------------- 19// ---------------------------------------------------------------------------
20 20
21const LAST_MIGRATION_VERSION = 355 21const LAST_MIGRATION_VERSION = 360
22 22
23// --------------------------------------------------------------------------- 23// ---------------------------------------------------------------------------
24 24
diff --git a/server/models/account/user-notification.ts b/server/models/account/user-notification.ts
index ccf8277ab..33480f3b5 100644
--- a/server/models/account/user-notification.ts
+++ b/server/models/account/user-notification.ts
@@ -119,7 +119,7 @@ function buildAccountInclude (required: boolean, withActor = false) {
119 }, 119 },
120 120
121 { 121 {
122 attributes: [ 'id' ], 122 attributes: [ 'id', 'state' ],
123 model: () => ActorFollowModel.unscoped(), 123 model: () => ActorFollowModel.unscoped(),
124 required: false, 124 required: false,
125 include: [ 125 include: [