Skip to content

Commit

Permalink
Merge pull request #47 from jellyfin/plugin
Browse files Browse the repository at this point in the history
Remove update class from install plugin method
  • Loading branch information
anthonylavado authored and dkanada committed May 25, 2020
1 parent 7a304c8 commit ab2dafb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/apiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -1359,17 +1359,12 @@ class ApiClient {
/**
* Installs or updates a new plugin
*/
installPlugin(name, guid, updateClass, version) {
installPlugin(name, guid, version) {
if (!name) {
throw new Error('null name');
}

if (!updateClass) {
throw new Error('null updateClass');
}

const options = {
updateClass,
AssemblyGuid: guid
};

Expand Down

0 comments on commit ab2dafb

Please sign in to comment.