diff --git a/backend/api/routes/index.ts b/backend/api/routes/index.ts index 2feeeef03..298d52fd0 100644 --- a/backend/api/routes/index.ts +++ b/backend/api/routes/index.ts @@ -47,10 +47,8 @@ function addApiRoutes(app: Application): void { return; } - const clientVersion = req.headers["client-version"]; - if (clientVersion) { - recordClientVersion(clientVersion.toString()); - } + const clientVersion = req.headers["client-versio"]; + recordClientVersion(clientVersion?.toString() ?? "unknown"); requestsProcessed++; next();