fix: address Codex PR review findings
This commit is contained in:
1 parent
0f164b6de5
commit
a7974abb08
44 files changed
+3317
-667
No files matched your search
@@ -565,11 +565,14 @@ export async function listEntitySchemas(
|
||||
export async function getInvoiceValidationDetail(
|
||||
client: KyInstance,
|
||||
corpId: string,
|
||||
invoiceId: string
|
||||
invoiceId: string,
|
||||
options: { signal?: AbortSignal } = {}
|
||||
): Promise<Record<string, unknown> | undefined> {
|
||||
try {
|
||||
const response = await client.get(`api/v2/invoice/validation/$${encodeURIComponent(invoiceId)}`, {
|
||||
searchParams: { masterId: invoiceId, corpId }
|
||||
searchParams: { masterId: invoiceId, corpId },
|
||||
signal: options.signal,
|
||||
retry: 0,
|
||||
});
|
||||
return (await response.json()) as Record<string, unknown>;
|
||||
} catch {
|
||||
|
||||
Reference in new issue
Block a user