Skip to content

Commit

Permalink
fix: update getTotalRecords service with baseURL configuration (#2225)
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertJulio authored Feb 25, 2025
1 parent 7079b0a commit 209b84a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/services/real-time-events-service/get-total-records.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const getTotalRecords = async ({ filter, dataset }) => {
const decorator = new AxiosHttpClientSignalDecorator()

const httpResponse = await decorator.request({
baseURL: '/',
url: makeRealTimeEventsBaseUrl(),
method: 'POST',
body: payload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ describe('getTotalRecords', () => {
url: 'v4/events/graphql',
method: 'POST',
signal: undefined,
baseURL: '/',
body: {
query,
variables: {
Expand Down

0 comments on commit 209b84a

Please sign in to comment.