Changed PATCH to PUT for mediafile update. See #1871.
This commit is contained in:
parent
3fa42f0661
commit
11e39e4ed8
@ -34,7 +34,7 @@ angular.module('OpenSlidesApp.mediafiles.update', [
|
||||
// inject the changed mediafile (copy) object back into DS store
|
||||
Mediafile.inject(mediafile);
|
||||
// save change mediafile object on server
|
||||
Mediafile.save(mediafile, { method: 'PATCH' }).then(
|
||||
Mediafile.save(mediafile).then(
|
||||
function (success) {
|
||||
$scope.closeThisDialog();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user