diff --git a/package.json b/package.json index a96c3c14..b52e929f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "start": "run-s build:plugins tauri-dev", + "start": "npm run build:plugins && npm run tauri-dev", "tauri-dev": "YAAK_ENV=development tauri dev --no-watch --config src-tauri/tauri-dev.conf.json", "tauri-build": "tauri build", "tauri": "tauri", diff --git a/src-web/hooks/useIntrospectGraphQL.ts b/src-web/hooks/useIntrospectGraphQL.ts index 9091bce9..3b272e4b 100644 --- a/src-web/hooks/useIntrospectGraphQL.ts +++ b/src-web/hooks/useIntrospectGraphQL.ts @@ -34,7 +34,7 @@ export function useIntrospectGraphQL(baseRequest: HttpRequest) { setError(undefined); const args = { ...baseRequest, - bodyType: 'graphql', + bodyType: 'application/json', body: { text: introspectionRequestBody }, }; const response = await minPromiseMillis(sendEphemeralRequest(args, activeEnvironmentId), 700);