mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
Merge pull request #132 from notfakie/develop
fix: fix mediaServerType for plex users not being set properly
This commit is contained in:
@@ -70,6 +70,9 @@ authRoutes.post('/plex', async (req, res, next) => {
|
||||
userType: UserType.PLEX,
|
||||
});
|
||||
|
||||
settings.main.mediaServerType = MediaServerType.PLEX;
|
||||
settings.save();
|
||||
|
||||
await userRepository.save(user);
|
||||
} else {
|
||||
const mainUser = await userRepository.findOneOrFail({
|
||||
|
||||
Reference in New Issue
Block a user