Skip to content

Commit

Permalink
fix: 🩹 🐛 Fixed issue where Jellyseerr could not be selected for Emby …
Browse files Browse the repository at this point in the history
…servers
  • Loading branch information
JamsRepos committed Apr 21, 2024
1 parent 8e87c41 commit 83c381a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,12 @@ def put(self):

if value == "plex":
Requests.delete().where(Requests.service == "jellyseerr").execute()
elif value == "jellyfin":
elif value == "jellyfin" or value == "emby":
Requests.delete().where(Requests.service == "overseerr").execute()


return response, 200



@api.route('/<string:setting_id>')
@api.doc(security=["jsonWebToken", "cookieAuth"])
class SettingsAPI(Resource):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default defineComponent({
label: 'Jellyseerr',
value: 'jellyseerr',
attrs: {
disabled: this.settings.server_type !== 'jellyfin',
disabled: this.settings.server_type !== 'jellyfin' && this.settings.server_type !== 'emby',
},
},
{
Expand Down

0 comments on commit 83c381a

Please sign in to comment.