mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:08:32 +02:00
Minor tweaks
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"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-dev": "YAAK_ENV=development tauri dev --no-watch --config src-tauri/tauri-dev.conf.json",
|
||||||
"tauri-build": "tauri build",
|
"tauri-build": "tauri build",
|
||||||
"tauri": "tauri",
|
"tauri": "tauri",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export function useIntrospectGraphQL(baseRequest: HttpRequest) {
|
|||||||
setError(undefined);
|
setError(undefined);
|
||||||
const args = {
|
const args = {
|
||||||
...baseRequest,
|
...baseRequest,
|
||||||
bodyType: 'graphql',
|
bodyType: 'application/json',
|
||||||
body: { text: introspectionRequestBody },
|
body: { text: introspectionRequestBody },
|
||||||
};
|
};
|
||||||
const response = await minPromiseMillis(sendEphemeralRequest(args, activeEnvironmentId), 700);
|
const response = await minPromiseMillis(sendEphemeralRequest(args, activeEnvironmentId), 700);
|
||||||
|
|||||||
Reference in New Issue
Block a user