mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-01 20:44:06 +01:00
Better schema fetching
This commit is contained in:
1 parent
4feb31390d
commit
f9206c7a01
2 files changed
+9
-3
No files matched your search
@@ -2,5 +2,7 @@ import { invoke } from '@tauri-apps/api';
|
||||
import type { HttpRequest, HttpResponse } from './models';
|
||||
|
||||
export function sendEphemeralRequest(request: HttpRequest): Promise<HttpResponse> {
|
||||
return invoke('send_ephemeral_request', { request });
|
||||
// Ensure it's not associated with an ID
|
||||
const newRequest = { ...request, id: '' };
|
||||
return invoke('send_ephemeral_request', { request: newRequest });
|
||||
}
|
||||
Reference in new issue
Block a user