Merge pull request #2934 from mozilla/plain-get-session-token; r=philbooth
fix(db): Stop using deprecated 'sessionWithDevice' db route.
This commit is contained in:
Коммит
30e65674e7
|
@ -534,7 +534,7 @@ module.exports = (
|
|||
})
|
||||
}
|
||||
|
||||
SAFE_URLS.sessionToken = new SafeUrl('/sessionToken/:id/device', 'db.sessionToken')
|
||||
SAFE_URLS.sessionToken = new SafeUrl('/sessionToken/:id', 'db.sessionToken')
|
||||
DB.prototype.sessionToken = function (id) {
|
||||
log.trace({ op: 'DB.sessionToken', id })
|
||||
return this.pool.get(SAFE_URLS.sessionToken, { id })
|
||||
|
|
Загрузка…
Ссылка в новой задаче