mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
allow users to permanently delete their account
This commit is contained in:
@@ -14,7 +14,9 @@ module.service('AnalyticsService', [ '$state', function($state) {
|
||||
|
||||
|
||||
module.factory('ProfileService', ['$resource', function($resource) {
|
||||
return $resource('rest/user/profile/');
|
||||
var res = $resource('rest/user/profile/');
|
||||
res.deleteAccount = $resource('rest/user/profile/deleteAccount').save;
|
||||
return res;
|
||||
}]);
|
||||
|
||||
module.factory('SettingsService', ['$resource', function($resource) {
|
||||
|
||||
Reference in New Issue
Block a user