Forget to rename copied link function to unlink

This commit is contained in:
2019-12-22 13:42:13 +01:00
parent 8eacde9ccc
commit 291bdf089c

View File

@@ -70,7 +70,7 @@ function link(req, res) {
.catch(error => handleError(error, res))
}
function link(req, res) {
function unlink(req, res) {
const user = req.loggedInUser;
return userRepository.unlinkPlexUserId(user.username)