@erpp/react-api-cronos-frontend 1.0.6 → 1.0.9

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
@@ -800,9 +800,10 @@ var APIClientBase = class {
800
800
  return false;
801
801
  }
802
802
  }
803
+ // async query({ params }: QueryParams<TQuery>): Promise<TResponse[] | null> {
803
804
  async query({ params }) {
804
805
  try {
805
- const url = `${this.endpoint}/query`;
806
+ const url = `${this.endpoint}`;
806
807
  const response = await axios2.get(url, this.getAxiosConfig(params));
807
808
  return response.data;
808
809
  } catch (error) {