Skip to content

Commit

Permalink
- Fixed url composition when sending to fetch() request
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidArayan committed Dec 6, 2023
1 parent ed3b4b0 commit 68d6378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk-core/src/core/query/core-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export abstract class CoreQuery<T extends CoreObject<U>, U extends CoreObjectAtt
// proceed with generating the request - for anything other than GET we need to generate a payload
// this payload is generated from non-null values of the object attributes
try {
const response: Response = await fetch(encodedURL, request);
const response: Response = await fetch(`${service.config.url}${encodedURL}`, request);

if (!response.ok) {
CoreError.init({
Expand Down

0 comments on commit 68d6378

Please sign in to comment.