Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
update getThemeMedia
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed Aug 2, 2018
1 parent c390d77 commit c8e4829
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions apiclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -3032,19 +3032,7 @@ class ApiClient {
return this.getJSON(url);
}

getThemeMedia(userId, itemId, inherit) {

if (!itemId) {
throw new Error("null itemId");
}

const options = {};

if (userId) {
options.userId = userId;
}

options.InheritFromParent = inherit || false;
getThemeMedia(itemId, options) {

const url = this.getUrl(`Items/${itemId}/ThemeMedia`, options);

Expand Down

0 comments on commit c8e4829

Please sign in to comment.