Fix ephemeral response body reading

This commit is contained in:
Gregory Schier
2025-09-22 14:07:25 -07:00
parent 8fe50959b9
commit b3414ee60f
7 changed files with 11 additions and 13 deletions

View File

@@ -4,14 +4,14 @@ import type { ServerSentEvent } from '@yaakapp-internal/sse';
import { invokeCmd } from './tauri';
export async function getResponseBodyText({
responseId,
response,
filter,
}: {
responseId: string;
response: HttpResponse;
filter: string | null;
}): Promise<string | null> {
const result = await invokeCmd<FilterResponse>('cmd_http_response_body', {
responseId,
response,
filter,
});