From 86dff12cdeef6dca92527dd31757a3a4c7f921bf Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Thu, 20 Jan 2022 01:48:35 -0500 Subject: [PATCH] fix(plex): user import (#2442) --- server/routes/settings/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/settings/index.ts b/server/routes/settings/index.ts index c07232e47..7a5938e33 100644 --- a/server/routes/settings/index.ts +++ b/server/routes/settings/index.ts @@ -239,7 +239,7 @@ settingsRoutes.get( const plexApi = new PlexTvAPI(admin.plexToken ?? ''); const plexUsers = (await plexApi.getUsers()).MediaContainer.User.map( (user) => user.$ - ); + ).filter((user) => user.email); const unimportedPlexUsers: { id: string;