lamassu-server/packages/server/lib/new-admin/services
padreug 84e6e81f04 fix: handle empty machines table in restrictionLevel query
Return 0 when no machines exist instead of throwing an error.
This fixes the authentication error on fresh installations where
the machines table is empty.
2025-12-31 19:05:01 +01:00
..
bills.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
customInfoRequests.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
funding.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
login.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
machineGroups.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
machines.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
pairing.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
restriction-level.js fix: handle empty machines table in restrictionLevel query 2025-12-31 19:05:01 +01:00
server-logs.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
supervisor.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
transactions.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00
triggers.js v12.0.0 - initial commit 2025-12-31 19:04:13 +01:00