@iblai/data-layer 1.30.0 → 1.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -39918,7 +39918,7 @@ const RECENT_MESSAGES_LIMIT_PARAM = 'limit';
39918
39918
  const RECENT_MESSAGES_OFFSET_PARAM = 'offset';
39919
39919
  const CHAT_CUSTOM_ENDPOINTS = {
39920
39920
  GET_CHAT_MESSAGE_TTS: {
39921
- path: (org, user_id, chat_message_id) => `/api/ai-mentor/orgs/${org}/users/${user_id}/chat-messages/${chat_message_id}/tts`,
39921
+ path: (org, user_id, chat_message_id) => `/api/ai-mentor/orgs/${org}/users/${user_id}/chat-messages/${chat_message_id}/tts/`,
39922
39922
  service: SERVICES.DM,
39923
39923
  },
39924
39924
  };
@@ -43588,7 +43588,7 @@ const reportsApiSlice = createApi({
43588
43588
  try {
43589
43589
  const baseUrl = getServiceUrl(SERVICES.DM);
43590
43590
  const authHeaders = await getHeaders(SERVICES.DM);
43591
- const url = new URL(`/dm/api/reports/platforms/${encodeURIComponent(key)}/`, baseUrl);
43591
+ const url = new URL(`${baseUrl}/dm/api/reports/platforms/${encodeURIComponent(key)}/`);
43592
43592
  if (mentor_id) {
43593
43593
  url.searchParams.set('mentor_id', mentor_id);
43594
43594
  }