0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

replace deprecated del() with delete() call

This commit is contained in:
Florian Schlittenbauer 2019-04-26 13:51:50 +02:00 committed by Fabien O'Carroll
parent a6d7c46f2c
commit 8eb4d4c888

View file

@ -100,7 +100,7 @@ module.exports = function setupSiteApp(options = {}) {
res.end(err.message);
});
});
siteApp.del('/members/ssr', shared.middlewares.labs.members, function (req, res) {
siteApp.delete('/members/ssr', shared.middlewares.labs.members, function (req, res) {
membersService.api.ssr.deleteSession(req, res).then(() => {
res.writeHead(204);
res.end();