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();