diff --git a/Makefile b/Makefile index baecd0f3..158d0832 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,7 @@ bump-version: $(standard-version) ## Bump app version $Q ./scripts/bump_version.sh ## Help: +.DEFAULT_GOAL := help help: ## Show this help @echo '' @echo 'Usage:' diff --git a/frontend/src/api/files.ts b/frontend/src/api/files.ts index a36de03f..c398f84f 100644 --- a/frontend/src/api/files.ts +++ b/frontend/src/api/files.ts @@ -40,9 +40,7 @@ async function resourceAction(url: string, method: ApiMethod, content?: any) { opts.body = content; } - const res = await fetchURL(`/api/resources${url}`, opts); - - return res; + return await fetchURL(`/api/resources${url}`, opts); } export async function remove(url: string) { diff --git a/frontend/src/components/prompts/Share.vue b/frontend/src/components/prompts/Share.vue index 6b15ffcd..43a46530 100644 --- a/frontend/src/components/prompts/Share.vue +++ b/frontend/src/components/prompts/Share.vue @@ -142,7 +142,7 @@