mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(backend): do not log error when user has no server access (#1419)
This commit is contained in:
@@ -91,7 +91,7 @@ interface FriendResponse {
|
||||
email: string;
|
||||
thumb: string;
|
||||
};
|
||||
Server: ServerResponse[];
|
||||
Server?: ServerResponse[];
|
||||
}[];
|
||||
};
|
||||
}
|
||||
@@ -232,7 +232,7 @@ class PlexTvAPI {
|
||||
);
|
||||
}
|
||||
|
||||
return !!user.Server.find(
|
||||
return !!user.Server?.find(
|
||||
(server) => server.$.machineIdentifier === settings.plex.machineId
|
||||
);
|
||||
} catch (e) {
|
||||
|
Reference in New Issue
Block a user