@erpp/react-api-cronos-frontend 1.0.5 → 1.0.7

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.js CHANGED
@@ -1260,7 +1260,8 @@ var APIClientBase = class {
1260
1260
  return {
1261
1261
  baseURL: ApiClientContext.baseUrl,
1262
1262
  headers: {
1263
- Authorization: `Bearer ${ApiClientContext.token}`,
1263
+ // Authorization: `Bearer ${ApiClientContext.token}`,
1264
+ Authorization: `${ApiClientContext.token}`,
1264
1265
  Accept: "application/json"
1265
1266
  },
1266
1267
  params: query
@@ -1304,7 +1305,7 @@ var APIClientBase = class {
1304
1305
  }
1305
1306
  async query({ params }) {
1306
1307
  try {
1307
- const url = `${this.endpoint}/query`;
1308
+ const url = `${this.endpoint}`;
1308
1309
  const response = await import_axios2.default.get(url, this.getAxiosConfig(params));
1309
1310
  return response.data;
1310
1311
  } catch (error) {