Changed PATCH to PUT for mediafile update. See #1871.

This commit is contained in:
Norman Jäckel 2016-12-16 16:58:03 +01:00
parent 3fa42f0661
commit 11e39e4ed8

View File

@ -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();
},