fix(plex): user import (#2442)

pull/2230/head^2
TheCatLady 3 years ago committed by GitHub
parent ce31bef8a1
commit 86dff12cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -239,7 +239,7 @@ settingsRoutes.get(
const plexApi = new PlexTvAPI(admin.plexToken ?? ''); const plexApi = new PlexTvAPI(admin.plexToken ?? '');
const plexUsers = (await plexApi.getUsers()).MediaContainer.User.map( const plexUsers = (await plexApi.getUsers()).MediaContainer.User.map(
(user) => user.$ (user) => user.$
); ).filter((user) => user.email);
const unimportedPlexUsers: { const unimportedPlexUsers: {
id: string; id: string;

Loading…
Cancel
Save