diff --git a/core/server/api/canary/utils/serializers/output/index.js b/core/server/api/canary/utils/serializers/output/index.js index 257f03e72f..8a78521109 100644 --- a/core/server/api/canary/utils/serializers/output/index.js +++ b/core/server/api/canary/utils/serializers/output/index.js @@ -159,5 +159,9 @@ module.exports = { get slack() { return require('./slack'); + }, + + get session() { + return require('./session'); } }; diff --git a/core/server/api/canary/utils/serializers/output/session.js b/core/server/api/canary/utils/serializers/output/session.js new file mode 100644 index 0000000000..9d5e040642 --- /dev/null +++ b/core/server/api/canary/utils/serializers/output/session.js @@ -0,0 +1,9 @@ +const debug = require('@tryghost/debug')('api:canary:utils:serializers:output:session'); + +module.exports = { + all(data, apiConfig, frame) { + debug('all'); + + frame.response = data; + } +};