KollerSystems / Koller-Server

Szerver a Koller-hez.
Other
3 stars 0 forks source link

Mifare Error #9

Closed TheBlueLines closed 1 year ago

TheBlueLines commented 1 year ago

URL: http://127.0.0.1/api/users/mifare (POST) Data: bigtest.nbt (507 byte)

Server started listening on port 80!
node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

AssertionError [ERR_ASSERTION]: The values in where clause must not be object or array.
    at QueryCompiler_MySQL.whereBasic (C:\Users\David\GitHub\Koller-backend\api\node_modules\knex\lib\dialects\mysql\query\mysql-querycompiler.js:167:5)
    at QueryCompiler_MySQL.where (C:\Users\David\GitHub\Koller-backend\api\node_modules\knex\lib\query\querycompiler.js:573:34)
    at C:\Users\David\GitHub\Koller-backend\api\node_modules\knex\lib\query\querycompiler.js:133:40
    at Array.forEach (<anonymous>)
    at QueryCompiler_MySQL.select (C:\Users\David\GitHub\Koller-backend\api\node_modules\knex\lib\query\querycompiler.js:132:16)
    at QueryCompiler_MySQL.toSQL (C:\Users\David\GitHub\Koller-backend\api\node_modules\knex\lib\query\querycompiler.js:73:29)
    at Builder.toSQL (C:\Users\David\GitHub\Koller-backend\api\node_modules\knex\lib\query\querybuilder.js:83:44)
    at ensureConnectionCallback (C:\Users\David\GitHub\Koller-backend\api\node_modules\knex\lib\execution\internal\ensure-connection-callback.js:4:30)
    at Runner.ensureConnection (C:\Users\David\GitHub\Koller-backend\api\node_modules\knex\lib\execution\runner.js:300:20)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}

Node.js v20.2.0
lolfail commented 1 year ago

További információ kell, nekem működik a megadott fájlal, sőt egy 80kb-ossal is megnéztem annál se akadt probléma.

TheBlueLines commented 1 year ago

Hogyan tudok számodra több információt szolgáltatni?

lolfail commented 1 year ago

fixed: 5715725ceb85f23ae38f8e3c41e528e06c0b4779