fix call to HardwareInfo
All checks were successful
Build Docker containers / Build (push) Successful in 39s

This commit is contained in:
2025-04-16 00:28:05 -04:00
parent bcaa1f2c20
commit 6554d270bc

View File

@ -668,7 +668,7 @@ app.get('/api/v1/stats/hardware-models', async (req, res) => {
return {
count: result._count.hardware_model,
hardware_model: result.hardware_model,
hardware_model_name: HardwareModel.valuesById[result.hardware_model] ?? "UNKNOWN",
hardware_model_name: HardwareModel[result.hardware_model] ?? "UNKNOWN",
};
});