mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-08-04 10:58:40 +02:00
Update delete session to return status 200 instead of json
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user