Skip to content

Commit

Permalink
fix(api): invalid brand & model
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Jun 12, 2022
1 parent 388557d commit 51f593e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/static-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ const loadCpuInfo = async (): Promise<void> => {
const info = await si.cpu();

STATIC_INFO.cpu = {
brand: info.brand,
model: normalizeCpuModel(info.model),
brand: info.manufacturer,
model: normalizeCpuModel(info.brand),
cores: info.physicalCores,
threads: info.cores,
frequency: info.speed,
Expand Down

0 comments on commit 51f593e

Please sign in to comment.