X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Fapi%2Fusers%2Fmy-notifications.ts;h=017f5219edeb5a3b65bf6bbe855243d7d35aaefb;hb=8424c4026afd7304880a4ce8138a04ffb3d8c938;hp=f146284e4acc50b7f9c60155533214402b6e7076;hpb=f69ec5f340638ef577e8f5b9b1fb844778656a1f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/api/users/my-notifications.ts b/server/controllers/api/users/my-notifications.ts index f146284e4..017f5219e 100644 --- a/server/controllers/api/users/my-notifications.ts +++ b/server/controllers/api/users/my-notifications.ts @@ -76,7 +76,8 @@ async function updateNotificationSettings (req: express.Request, res: express.Re newFollow: body.newFollow, newUserRegistration: body.newUserRegistration, commentMention: body.commentMention, - newInstanceFollower: body.newInstanceFollower + newInstanceFollower: body.newInstanceFollower, + autoInstanceFollowing: body.autoInstanceFollowing } await UserNotificationSettingModel.update(values, query)