From ada677d0b3c2e0a8c4578ed062e6badf3f61a10f Mon Sep 17 00:00:00 2001 From: kytwb Date: Fri, 7 Jan 2022 23:02:17 +0100 Subject: Update archives path in create endpoint --- app/Controllers/Http/RecipeController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/Controllers/Http/RecipeController.js b/app/Controllers/Http/RecipeController.js index 07cd430..4fad74e 100644 --- a/app/Controllers/Http/RecipeController.js +++ b/app/Controllers/Http/RecipeController.js @@ -90,7 +90,7 @@ class RecipeController { // Compress files to .tar.gz file const source = Helpers.tmpPath('recipe'); - const destination = path.join(Helpers.appRoot(), `/recipes/recipes/${data.id}.tar.gz`); + const destination = path.join(Helpers.appRoot(), `/recipes/archives/${data.id}.tar.gz`); compress( source, -- cgit v1.2.3-54-g00ecf