mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-27 06:04:14 -05:00
fixed backup bug + removed console.logs
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user