mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-23 05:25:26 -04:00
fix(tauri, gui): Allow Tauri command to be called with empty arguments
- Allow Tauri command to be called with empty arguments - Add struct for GetSwapInfosAllArgs
This commit is contained in:
parent
de1f77bf80
commit
ca25e0454f
5 changed files with 185 additions and 1239 deletions
|
@ -34,7 +34,7 @@ async function invoke<ARGS, RESPONSE>(
|
|||
}
|
||||
|
||||
async function invokeNoArgs<RESPONSE>(command: string): Promise<RESPONSE> {
|
||||
return invokeUnsafe(command, {}) as Promise<RESPONSE>;
|
||||
return invokeUnsafe(command) as Promise<RESPONSE>;
|
||||
}
|
||||
|
||||
export async function checkBitcoinBalance() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue