From 5eccc393ad02b6c690f16305a784a2e7531ec3a4 Mon Sep 17 00:00:00 2001 From: Bryant Park Date: Mon, 15 Jul 2024 18:12:51 -0400 Subject: [PATCH] Fix semantic merge conflict with queries PR --- packages/client/src/queries/applyQuery.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/queries/applyQuery.ts b/packages/client/src/queries/applyQuery.ts index ce1de4882..893e927b2 100644 --- a/packages/client/src/queries/applyQuery.ts +++ b/packages/client/src/queries/applyQuery.ts @@ -38,7 +38,7 @@ import { OntologiesV2 } from "@osdk/internal.foundry"; import { createAttachmentFromRid } from "../createAttachmentFromRid.js"; import type { MinimalClient } from "../MinimalClientContext.js"; import { createObjectSet } from "../objectSet/createObjectSet.js"; -import { addUserAgent } from "../util/addUserAgent.js"; +import { addUserAgentAndRequestContextHeaders } from "../util/addUserAgentAndRequestContextHeaders.js"; import { toDataValue } from "../util/toDataValue.js"; import { toDataValueQueries } from "../util/toDataValueQueries.js"; @@ -53,7 +53,7 @@ export async function applyQuery< QueryReturnType > { const response = await OntologiesV2.QueryTypes.executeQueryV2( - addUserAgent(client, query), + addUserAgentAndRequestContextHeaders(client, query), await client.ontologyRid, query.apiName, {