mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-01 12:08:06 +02:00
fix(fs): use correct arg name for unwatch (#857)
* fix(fs): use correct arg name for unwatch * fmt
This commit is contained in:
@@ -1135,8 +1135,8 @@ type DebouncedEvent =
|
||||
*/
|
||||
type UnwatchFn = () => void;
|
||||
|
||||
async function unwatch(id: number): Promise<void> {
|
||||
await invoke("plugin:fs|unwatch", { id });
|
||||
async function unwatch(rid: number): Promise<void> {
|
||||
await invoke("plugin:fs|unwatch", { rid });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user