Forget to rename copied link function to unlink
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user