Fix account deletion.

This commit is contained in:
Jonathan Cremin 2019-07-21 19:37:20 +00:00
parent 5a7e695e53
commit 971d454e2c
9 changed files with 76 additions and 13 deletions

View file

@ -84,6 +84,9 @@ export class SettingService {
service.update = (data) => {
return $http.post(window.settings.apiURL + '/user/settings', data);
};
service.delete = (data) => {
return $http.post(window.settings.apiURL + '/user/delete', data);
};
return service;
}