Skip to content

Commit

Permalink
fix: update typing to fix ts error
Browse files Browse the repository at this point in the history
Co-authored-by: Jason <[email protected]>
  • Loading branch information
NabbeunNabi and ConwayDecker committed Mar 10, 2025
1 parent d8b19e6 commit b1aee56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const initializeGqlClient = () => {

let apiURL

const useLocalApi = useRuntimeConfig().public.NUXT_USE_LOCAL_API as boolean | undefined
const useLocalApi = useRuntimeConfig().public.NUXT_USE_LOCAL_API as string | undefined
if (useLocalApi) {
apiURL = 'http://127.0.0.1:4000'
} else {
Expand Down

0 comments on commit b1aee56

Please sign in to comment.