mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
First level of ratings and reviews
This commit is contained in:
parent
7614d695d9
commit
75b5f25694
7 changed files with 203 additions and 7 deletions
10
ApiClient.js
10
ApiClient.js
|
@ -3569,6 +3569,16 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||
url: url
|
||||
});
|
||||
};
|
||||
|
||||
self.createPackageReview = function(review) {
|
||||
|
||||
var url = self.getUrl("PackageReviews/" + review.id, review);
|
||||
|
||||
return self.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
}(jQuery, navigator, window.JSON, window.WebSocket, setTimeout, window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue