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

Merge pull request #2219 from crobibero/create-playlist

Set Content-Type header when creating a playlist

(cherry picked from commit 1c03e4c830)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
Bill Thornton 2020-12-10 22:17:05 -05:00 committed by Joshua M. Boniface
parent eeded17cbd
commit 87d459f827

View file

@ -49,7 +49,8 @@ import ServerConnections from '../ServerConnections';
apiClient.ajax({
type: 'POST',
url: url,
dataType: 'json'
dataType: 'json',
contentType: 'application/json'
}).then(result => {
loading.hide();