chore: update deps (#14755)

This commit is contained in:
Daniel Dietzler 2024-12-18 15:19:48 +01:00 committed by GitHub
parent a03f4f5610
commit 6a855f6331
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 4610 additions and 14215 deletions

View file

@ -49,7 +49,7 @@ export const GetLoginDetails = createParamDecorator((data, context: ExecutionCon
const userAgent = UAParser(request.headers['user-agent']);
return {
clientIp: request.ip,
clientIp: request.ip ?? '',
isSecure: request.secure,
deviceType: userAgent.browser.name || userAgent.device.type || (request.headers.devicemodel as string) || '',
deviceOS: userAgent.os.name || (request.headers.devicetype as string) || '',