diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-09 10:42:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-09 10:42:07 +0200 |
commit | 8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac (patch) | |
tree | 10fb184225bea38057979019c0427f893b03f77c /server/models | |
parent | 846751c98b8704c09234688be6e7e23b837a3739 (diff) | |
download | PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.tar.gz PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.tar.zst PeerTube-8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac.zip |
Add new instance follower notification in client
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/account/user-notification.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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: [ |