Skip to content

Commit

Permalink
Fix semantic merge conflict with queries PR
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantpark04 committed Jul 15, 2024
1 parent 578c680 commit 5eccc39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/queries/applyQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand All @@ -53,7 +53,7 @@ export async function applyQuery<
QueryReturnType<QD["output"]>
> {
const response = await OntologiesV2.QueryTypes.executeQueryV2(
addUserAgent(client, query),
addUserAgentAndRequestContextHeaders(client, query),
await client.ontologyRid,
query.apiName,
{
Expand Down

0 comments on commit 5eccc39

Please sign in to comment.