fixed backup bug + removed console.logs

This commit is contained in:
Hayden
2021-01-09 12:56:20 -09:00
parent b8f7b58da3
commit 1559b015af
8 changed files with 56 additions and 10 deletions

View File

@@ -19,8 +19,9 @@ export default {
},
async import(fileName) {
apiReq.post(backupURLs.importBackup(fileName));
let response = await apiReq.post(backupURLs.importBackup(fileName));
store.dispatch("requestRecentRecipes");
return response;
},
async delete(fileName) {

View File

@@ -12,7 +12,6 @@ export default {
async migrateChowdown(repoURL) {
let postBody = { url: repoURL };
let response = await apiReq.post(migrationURLs.chowdownURL, postBody);
console.log(response);
store.dispatch("requestRecentRecipes");
return response.data;
},