Skip to content

Commit 5e6db51

Browse files
authored
(Temporary Fix) Changed friends route to the v2 sharings route (#1413)
1 parent bbdb238 commit 5e6db51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plexapi/myplex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class MyPlexAccount(PlexObject):
9999
EXISTINGUSER = 'https://plex.tv/api/home/users?invitedEmail={username}' # post with data
100100
FRIENDSERVERS = 'https://plex.tv/api/servers/{machineId}/shared_servers/{serverId}' # put with data
101101
PLEXSERVERS = 'https://plex.tv/api/servers/{machineId}' # get
102-
FRIENDUPDATE = 'https://plex.tv/api/friends/{userId}' # put with args, delete
102+
FRIENDUPDATE = 'https://plex.tv/api/v2/sharings/{userId}' # put with args, delete
103103
HOMEUSER = 'https://plex.tv/api/home/users/{userId}' # delete, put
104104
MANAGEDHOMEUSER = 'https://plex.tv/api/v2/home/users/restricted/{userId}' # put
105105
SIGNIN = 'https://plex.tv/api/v2/users/signin' # post with auth

0 commit comments

Comments
 (0)