Incorrect query parameter. Changed from (the not defined) plex_userid to username.

This commit is contained in:
2019-12-22 13:49:16 +01:00
parent 291bdf089c
commit 5923cbf051

View File

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