mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
replace deprecated del() with delete() call
This commit is contained in:
parent
a6d7c46f2c
commit
8eb4d4c888
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user