fix(core): wrong usage of wry RPC on event API (#1351)

This commit is contained in:
Lucas Fernandes Nogueira 2021-03-11 14:32:25 -03:00 committed by GitHub
parent 350ebb83e5
commit d857a2f4fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ fn event_initialization_script() -> String {
}}
if (listeners.length > 0) {{
window.__TAURI__.invoke({{
window.__TAURI__.invoke('tauri', {{
__tauriModule: 'Internal',
message: {{
cmd: 'validateSalt',