Update model request interface and references

This commit is contained in:
gconsidine
2017-11-09 17:01:32 -05:00
parent 4cd2f93c31
commit e8fd40ace0
15 changed files with 260 additions and 209 deletions

View File

@@ -88,7 +88,7 @@ function EditCredentialsController (models, $state, $scope, strings) {
data.user = me.get('id');
credential.unset('inputs');
return credential.request('put', data);
return credential.request('put', { data });
};
vm.form.onSaveSuccess = () => {