mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore: update deps (#14755)
This commit is contained in:
parent
a03f4f5610
commit
6a855f6331
38 changed files with 4610 additions and 14215 deletions
|
|
@ -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) || '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue