Feat: Plex authentication #124

Merged
KevinMidboe merged 22 commits from feature/plex-authentication into master 2019-12-23 00:39:43 +00:00
Showing only changes of commit 5923cbf051 - Show all commits

View File

@@ -88,7 +88,7 @@ class UserRepository {
*/ */
unlinkPlexUserId(username) { unlinkPlexUserId(username) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
this.database.run(this.queries.unlink, plexUserID) this.database.run(this.queries.unlink, username)
.then(row => resolve(row)) .then(row => resolve(row))
.catch(error => { .catch(error => {
// TODO log this unknown db error // TODO log this unknown db error