Skip to content

Commit 7573ef3

Browse files
committed
fix: verify refresh token interface
1 parent 57a94c9 commit 7573ef3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/models/refreshtoken.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@ import SequelizeAttributes from '../utils/SequelizeAttributes'
33

44
import db from './_instance'
55

6-
export interface RefreshTokenAttributes {
6+
export interface verifyRefreshTokenAttributes {
77
id: string
8+
nama: string
9+
email: string
10+
active: boolean
11+
}
12+
13+
export interface RefreshTokenAttributes {
14+
id?: string
815
UserId: string
916
token: string
1017
createdAt?: Date

0 commit comments

Comments
 (0)