Compare commits

..

No commits in common. "6df27ff3b062a9b976efbf17ed5f04ae6f85769e" and "351a0e33fb610a6e2030be56a969f724ec09b19c" have entirely different histories.

4 changed files with 3 additions and 6 deletions

View file

@ -106,7 +106,6 @@ class TipagemRotas {
try {
queryObj[chave] = JSON.parse(queryObj[chave]);
} catch {
console.log(`[${queryObj[chave]}] n\xE3o \xE9 um json v\xE1lido.`);
}
}
return queryObj;

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "p-comuns",
"version": "0.236.0",
"version": "0.235.0",
"description": "",
"main": "./dist-back/index.js",
"module": "./dist-front/index.mjs",

View file

@ -129,9 +129,7 @@ export class TipagemRotas<T extends { [q: string]: any }> {
for (const chave in queryObj) {
try {
queryObj[chave] = JSON.parse(queryObj[chave])
} catch {
console.log(`[${queryObj[chave]}] não é um json válido.`)
}
} catch {}
}
return queryObj as Partial<T>