Skip to content

Commit

Permalink
feat: update frontend logic
Browse files Browse the repository at this point in the history
  • Loading branch information
findolor committed Oct 29, 2024
1 parent 1dddc99 commit eb10a1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tauri-app/src/lib/queries/ordersList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { mockIPC } from '@tauri-apps/api/mocks';
import type { Order } from '$lib/typeshare/subgraphTypes';

export type OrdersListArgs = {
subgraphArgs: {
subgraphArgsList: {
url: string;
};
}[];
filterArgs: {
owners: string[];
active: boolean | undefined;
Expand All @@ -30,7 +30,7 @@ export const ordersList = async (
return [];
}
return await invoke<Order[]>('orders_list', {
subgraphArgs: { url },
subgraphArgsList: [{ url }],
filterArgs: {
owners,
active,
Expand Down

0 comments on commit eb10a1a

Please sign in to comment.