@galadrim/galadmin 0.1.221 → 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/dist/api.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/api.ts +2 -2
- package/src/front/ckeditor5-build/node_modules/semver/bin/semver.js +0 -0
- package/src/front/ckeditor5-build/node_modules/.bin/semver +0 -12
- package/src/front/ckeditor5-build/node_modules/.bin/semver.cmd +0 -17
- package/src/front/ckeditor5-build/node_modules/.bin/semver.ps1 +0 -28
package/dist/api.js
CHANGED
|
@@ -929,7 +929,7 @@ exports.default = (db, config, user) => {
|
|
|
929
929
|
try {
|
|
930
930
|
const response = await axios_1.default.get(`https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/economicref-france-sirene-v3/records`, {
|
|
931
931
|
params: {
|
|
932
|
-
where: `denominationunitelegale LIKE '${processedQuery}*' OR
|
|
932
|
+
where: `denominationunitelegale LIKE '${processedQuery}*' OR siret LIKE '${processedQuery}*'`,
|
|
933
933
|
limit: 100
|
|
934
934
|
}
|
|
935
935
|
});
|
|
@@ -945,7 +945,7 @@ exports.default = (db, config, user) => {
|
|
|
945
945
|
zipCode: etablissement.codepostaletablissement,
|
|
946
946
|
activityNumber: etablissement.activiteprincipaleunitelegale,
|
|
947
947
|
}))
|
|
948
|
-
.slice(0,
|
|
948
|
+
.slice(0, 30);
|
|
949
949
|
res.send(results);
|
|
950
950
|
}
|
|
951
951
|
catch (e) {
|