1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #501 from anthonylavado/user-fix

Resolves missing policy error on user creation
This commit is contained in:
Joshua M. Boniface 2019-10-04 13:55:39 -04:00 committed by GitHub
commit a92aae3a43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1195,8 +1195,8 @@ define(["events", "appStorage"], function(events, appStorage) {
return this.ajax({ return this.ajax({
type: "POST", type: "POST",
url: url, url: url,
data: JSON.stringify(user), data: user,
contentType: "application/json" dataType: "json"
}) })
}, ApiClient.prototype.updateUser = function(user) { }, ApiClient.prototype.updateUser = function(user) {
if (!user) throw new Error("null user"); if (!user) throw new Error("null user");