Skip to content

Commit

Permalink
Make params optional
Browse files Browse the repository at this point in the history
  • Loading branch information
esdete2 committed Sep 30, 2024
1 parent ef4aaac commit 20a0660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/utils/dataLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const loadSiteProps = async <CustomSiteData extends SiteData = SiteData>(

export const loadQueryResult = async <D, M>(
queryName: string,
params: any,
params?: any,
opts?: DataLoaderOptions & OptionalOption & QueryOptions
) => {
const apiUrl = process.env.NEOS_BASE_URL;
Expand Down

0 comments on commit 20a0660

Please sign in to comment.