Skip to content

Commit 2a65de1

Browse files
committed
[PROF-13798] 🐛 Fix TS error: pass clientToken to buildEndpointHost
1 parent 6682fe7 commit 2a65de1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/rum/src/domain/profiling/quotaCheck.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function checkProfilingQuota(
3636
sessionId: string,
3737
timeoutMs = 5000
3838
): Promise<QuotaResult> {
39-
const host = `quota.${buildEndpointHost('profile', { site: configuration.site })}`
39+
const host = `quota.${buildEndpointHost('profile', { site: configuration.site, clientToken: configuration.clientToken })}`
4040
const url = `https://${host}/api/v2/profiling/quota?session_id=${sessionId}`
4141
const controller = new AbortController()
4242

0 commit comments

Comments
 (0)