@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.mjs CHANGED
@@ -757,7 +757,8 @@ var APIClientBase = class {
757
757
  return {
758
758
  baseURL: ApiClientContext.baseUrl,
759
759
  headers: {
760
- Authorization: `Bearer ${ApiClientContext.token}`,
760
+ // Authorization: `Bearer ${ApiClientContext.token}`,
761
+ Authorization: `${ApiClientContext.token}`,
761
762
  Accept: "application/json"
762
763
  },
763
764
  params: query
@@ -801,7 +802,7 @@ var APIClientBase = class {
801
802
  }
802
803
  async query({ params }) {
803
804
  try {
804
- const url = `${this.endpoint}/query`;
805
+ const url = `${this.endpoint}`;
805
806
  const response = await axios2.get(url, this.getAxiosConfig(params));
806
807
  return response.data;
807
808
  } catch (error) {