Skip to content

Commit 8135bf1

Browse files
committed
Hotfix missing variable declaration in music plugin
1 parent 5c8fa3a commit 8135bf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/music/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
if (error.isAxiosError) {
149149
const status = error.response?.status
150150
const description = error.response.data?.error_description ?? null
151-
message = `API returned ${status}${description ? ` (${description})` : ""}`
151+
const message = `API returned ${status}${description ? ` (${description})` : ""}`
152152
error = error.response?.data ?? null
153153
throw {error:{message, instance:error}, ...raw}
154154
}

0 commit comments

Comments
 (0)