profile.key => profile.id

This commit is contained in:
Gina Häußge 2015-12-03 09:53:37 +01:00
parent 1f9ebe7201
commit af1cd1f9e3

View file

@ -261,7 +261,7 @@ $(function() {
}
self.requestInProgress(true);
OctoPrint.printerprofiles.update(profile.key, profile)
OctoPrint.printerprofiles.update(profile.id, profile)
.done(function() {
if (callback !== undefined) {
callback();