diff --git a/src/renderer/src/lib/queries/subscriptions.ts b/src/renderer/src/lib/queries/subscriptions.ts index ad9de2105f..96ea2bd16a 100644 --- a/src/renderer/src/lib/queries/subscriptions.ts +++ b/src/renderer/src/lib/queries/subscriptions.ts @@ -96,7 +96,7 @@ export const useSubscriptionCategories = (view?: number) => const { data: categories } = await apiFetch<{ code: number data: string[] - }>("/subscriptions/categories", { + }>("/categories", { query: { view, },