Skip to content

Commit

Permalink
fix get speakers error
Browse files Browse the repository at this point in the history
  • Loading branch information
y-chan committed Feb 26, 2022
1 parent 65e285a commit e9446c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,8 @@ export const audioStore: VoiceVoxStoreOptions<
const speakers = await dispatch("INVOKE_ENGINE_CONNECTOR", {
engineKey: engineInfo.key,
action: "speakersSpeakersGet",
payload: [],
// 連想配列が第一引数になければ失敗する
payload: [{}],
})
.then(toDispatchResponse("speakersSpeakersGet"))
.catch((error) => {
Expand Down

0 comments on commit e9446c4

Please sign in to comment.