Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash in sync profile for older server versions #175

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

thornbill
Copy link
Member

The app was crashing because server versions < 10.7 call getSyncProfile with an options object as the second parameter. This method has been removed in 10.7 and was never supported in Jellyfin, so I changed it to just return a Promise resolving to an empty object.

@sonarcloud
Copy link

sonarcloud bot commented Dec 7, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@anthonylavado anthonylavado merged commit 3c3de45 into jellyfin:master Dec 7, 2020
@thornbill thornbill deleted the fix-sync-profile-error branch December 8, 2020 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants