Hotfix missing variable declaration in music plugin

This commit is contained in:
linguist committed 2020-12-28 01:25:40 +01:00
1 parent 5c8fa3a6f6
commit 8135bf19a6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@
if (error.isAxiosError) {
const status = error.response?.status
const description = error.response.data?.error_description ?? null
message = `API returned ${status}${description ? ` (${description})` : ""}`
const message = `API returned ${status}${description ? ` (${description})` : ""}`
error = error.response?.data ?? null
throw {error:{message, instance:error}, ...raw}
}