GraphQL autocomplete and duplicate request

This commit is contained in:
Gregory Schier
2023-03-21 23:54:45 -07:00
parent 9b8961c23d
commit 168dfb9f6b
31 changed files with 299 additions and 157 deletions

View File

@@ -1,5 +1,4 @@
import { invoke } from '@tauri-apps/api';
import { convertDates } from './models';
import type { HttpRequest } from './models';
export async function getRequest(id: string | null): Promise<HttpRequest | null> {
@@ -8,5 +7,5 @@ export async function getRequest(id: string | null): Promise<HttpRequest | null>
if (request == null) {
return null;
}
return convertDates(request);
return request;
}