More changes for db migration

This commit is contained in:
Jonathan Cremin 2016-08-07 14:38:05 +01:00
parent de0284e48a
commit 889dc02945
33 changed files with 740 additions and 100 deletions

View file

@ -66,7 +66,7 @@ export class ProController {
$scope.user = UserService.get();
$scope.header = 'full';
$scope.cancel = () => {
$http.post('/pro/cancel').success(() => {
$http.delete(window.settings.apiURL + '/user/pro').success(() => {
window.location.reload(true);
}).error((data) => {
console.error(new Error(data));