@galadrim/galadmin 0.1.222 → 0.1.223

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galadrim/galadmin",
3
- "version": "0.1.222",
3
+ "version": "0.1.223",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
package/src/api.ts CHANGED
@@ -933,7 +933,7 @@ export default (db, config, user) => {
933
933
  try {
934
934
  const response = await axios.get(`https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/economicref-france-sirene-v3/records`, {
935
935
  params: {
936
- where: `denominationunitelegale LIKE '${processedQuery}*' OR siren LIKE '${processedQuery}*'`,
936
+ where: `denominationunitelegale LIKE '${processedQuery}*' OR siret LIKE '${processedQuery}*'`,
937
937
  limit: 100
938
938
  }
939
939
  });