diff --git a/packages/ui/src/lib/backend/projects.ts b/packages/ui/src/lib/backend/projects.ts index 8b2bae281..f635740c1 100644 --- a/packages/ui/src/lib/backend/projects.ts +++ b/packages/ui/src/lib/backend/projects.ts @@ -44,7 +44,7 @@ export class ProjectService { } async add(path: string) { - return await invoke('add_project', { params: { path } }); + return await invoke('add_project', { path }); } async deleteProject(id: string) {