Ver Fonte

feat: add lastLoginAt field to user login data

Dave há 1 mês atrás
pai
commit
13263a21cb
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      apps/box-app-api/src/feature/auth/auth.service.ts

+ 1 - 0
apps/box-app-api/src/feature/auth/auth.service.ts

@@ -69,6 +69,7 @@ export class AuthService {
             data: {
               machine,
               updateAt: nowSec,
+              lastLoginAt: nowSec,
             },
           });
         } catch (e) {