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:
parent
a6d7c46f2c
commit
8eb4d4c888
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue