Skip to content

Commit ab2dafb

Browse files
anthonylavadodkanada
authored andcommitted
Merge pull request #47 from jellyfin/plugin
Remove update class from install plugin method
1 parent 7a304c8 commit ab2dafb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/apiClient.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,17 +1359,12 @@ class ApiClient {
13591359
/**
13601360
* Installs or updates a new plugin
13611361
*/
1362-
installPlugin(name, guid, updateClass, version) {
1362+
installPlugin(name, guid, version) {
13631363
if (!name) {
13641364
throw new Error('null name');
13651365
}
13661366

1367-
if (!updateClass) {
1368-
throw new Error('null updateClass');
1369-
}
1370-
13711367
const options = {
1372-
updateClass,
13731368
AssemblyGuid: guid
13741369
};
13751370

0 commit comments

Comments
 (0)