Skip to content

Commit 9f7beb8

Browse files
gtamanahaalexs-mparticle
authored andcommitted
fix(apiClient): Update upload URL construction in APIClient and clean up imports in reportingLogger
1 parent 307f752 commit 9f7beb8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/apiClient.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,8 @@ export default function APIClient(
239239
mpInstance._Store.SDKConfig.v2SecureServiceUrl,
240240
mpInstance._Store.devToken
241241
);
242-
const uploadUrl = `apps.stage.rokt.com/v1/log/v1/log`;
243-
// const uploadUrl = `${baseUrl}/v1/log`;
244-
242+
243+
const uploadUrl = `${baseUrl}/v1/log`;
245244
const uploader = window.fetch
246245
? new FetchUploader(uploadUrl)
247246
: new XHRUploader(uploadUrl);

src/logging/reportingLogger.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { LogLevelType, SDKLoggerApi } from "../sdkRuntimeModels";
21
import { IAPIClient } from "../apiClient";
32
import { ErrorCodes } from "./errorCodes";
43
import { LogRequest, LogRequestSeverity } from "./logRequest";

0 commit comments

Comments
 (0)