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:
commit
a92aae3a43
1 changed files with 2 additions and 2 deletions
|
@ -1195,8 +1195,8 @@ define(["events", "appStorage"], function(events, appStorage) {
|
|||
return this.ajax({
|
||||
type: "POST",
|
||||
url: url,
|
||||
data: JSON.stringify(user),
|
||||
contentType: "application/json"
|
||||
data: user,
|
||||
dataType: "json"
|
||||
})
|
||||
}, ApiClient.prototype.updateUser = function(user) {
|
||||
if (!user) throw new Error("null user");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue