Update data_service.py

This commit is contained in:
DJObleezy 2025-03-28 19:34:53 -07:00 committed by GitHub
parent cc349dd0cb
commit bfacc24734
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -715,8 +715,8 @@ class MiningDashboardService:
worker["type"] = 'ASIC'
worker["model"] = 'MicroBT Whatsminer'
elif 'bitaxe' in lower_name or 'nerdqaxe' in lower_name:
worker["type"] = 'FPGA'
worker["model"] = 'BitAxe FPGA Miner'
worker["type"] = 'Bitaxe'
worker["model"] = 'BitAxe Gamma 601'
workers.append(worker)
@ -981,8 +981,8 @@ class MiningDashboardService:
worker["type"] = 'ASIC'
worker["model"] = 'MicroBT Whatsminer'
elif 'bitaxe' in lower_name or 'nerdqaxe' in lower_name:
worker["type"] = 'FPGA'
worker["model"] = 'BitAxe FPGA Miner'
worker["type"] = 'Bitaxe'
worker["model"] = 'Bitaxe Gamma 601'
# Only add workers with valid data
if worker["name"] and worker["name"].lower() not in invalid_names: