From 3a1185f2a17e182ee16cc98a5ff8311d82471212 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Thu, 17 Mar 2022 16:01:21 +0000 Subject: [PATCH] Added serializer for authentication.resetAllPasswords refs: https://github.com/TryGhost/Toolbox/issues/245 - resetAllPasswords was missing a serializer - added a new passthrough serializer for now - the tests already cover this endpoint --- .../api/canary/utils/serializers/output/authentication.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/server/api/canary/utils/serializers/output/authentication.js b/core/server/api/canary/utils/serializers/output/authentication.js index 68512e5213..bbdaa6862e 100644 --- a/core/server/api/canary/utils/serializers/output/authentication.js +++ b/core/server/api/canary/utils/serializers/output/authentication.js @@ -47,6 +47,10 @@ module.exports = { }; }, + resetAllPasswords(data, apiConfig, frame) { + frame.response = data; + }, + acceptInvitation(data, apiConfig, frame) { debug('acceptInvitation');