Skip to content

Commit ae84fc4

Browse files
fix: update typing to fix ts error
Co-authored-by: Jason <[email protected]>
1 parent 8a34117 commit ae84fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/graphql.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const initializeGqlClient = () => {
1212

1313
let apiURL
1414

15-
const useLocalApi = useRuntimeConfig().public.NUXT_USE_LOCAL_API as boolean | undefined
15+
const useLocalApi = useRuntimeConfig().public.NUXT_USE_LOCAL_API as string | undefined
1616
if (useLocalApi) {
1717
apiURL = 'http://127.0.0.1:4000'
1818
} else {

0 commit comments

Comments
 (0)