Skip to content

Commit

Permalink
Hotfix missing variable declaration in music plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Dec 28, 2020
1 parent 5c8fa3a commit 8135bf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/plugins/music/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit 8135bf1

Please sign in to comment.