mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-29 20:51:48 +00:00
Update delete session to return status 200 instead of json
This commit is contained in:
parent
1876bfbfe7
commit
c86f336536
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class MeController {
|
|||
await Database.sessionModel.destroy({ where: { id: session.id } })
|
||||
Logger.info(`[MeController] User ${req.user.username} deleted auth session ${session.id}`)
|
||||
|
||||
res.json({ success: true })
|
||||
res.sendStatus(200)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue