mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-29 05:31:51 +02:00
GraphQL autocomplete and duplicate request
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user