X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Faccount%2Fuser-notification.ts;h=33480f3b585b205be6040623bcd3bb8dd7386aab;hb=8ce1ba6e3efe0a688d6a0b57e8201cde33ad7aac;hp=ccf8277ab1ab45413f4c3b1d90b3278f347feeb1;hpb=846751c98b8704c09234688be6e7e23b837a3739;p=github%2FChocobozzz%2FPeerTube.git 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) { }, { - attributes: [ 'id' ], + attributes: [ 'id', 'state' ], model: () => ActorFollowModel.unscoped(), required: false, include: [