1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: wrong result fields type and order with some queries

This commit is contained in:
2020-10-20 13:12:12 +02:00
parent 580105e9f3
commit a8cd17748f
5 changed files with 15 additions and 9 deletions

View File

@ -177,6 +177,7 @@ export default {
}
if (BIT.includes(type)) {
if (typeof val === 'number') val = [val];
const hex = Buffer.from(val).toString('hex');
return hexToBinary(hex);
}