Browse Source

feat: add lastLoginAt field to user login data

Dave 1 tháng trước cách đây
mục cha
commit
13263a21cb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) {