Преглед изворни кода

feat: add lastLoginAt field to user login data

Dave пре 1 месец
родитељ
комит
13263a21cb
1 измењених фајлова са 1 додато и 0 уклоњено
  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) {