Skip to content

Commit

Permalink
Update packages/ra-supabase-core/src/useAPISchema.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Gildas Garcia <[email protected]>
  • Loading branch information
fzaninotto and djhi authored Nov 7, 2024
1 parent eaf7117 commit 3418996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-supabase-core/src/useAPISchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { OpenAPIV2 } from 'openapi-types';
export const useAPISchema = ({
options,
}: {
options?: Partial<UseQueryOptions<OpenAPIV2.Document>>;
options?: Partial<Omit<UseQueryOptions<OpenAPIV2.Document>, 'queryKey' | 'queryFn'>>;
} = {}) => {
const dataProvider = useDataProvider();
if (!dataProvider.getSchema) {
Expand Down

0 comments on commit 3418996

Please sign in to comment.