mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-19 16:21:13 +01:00
Minor tweaks
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user