Updated refresh-token property names
This commit is contained in:
@@ -2,7 +2,7 @@ package models
|
|||||||
|
|
||||||
type RefreshToken struct {
|
type RefreshToken struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
UserID string `json:"userid"`
|
UserID string `json:"user_id"`
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
ExpiresAt int64 `json:"expires_at"`
|
ExpiresAt int64 `json:"expires_at"`
|
||||||
CreatedAt int64 `json:"created_at"`
|
CreatedAt int64 `json:"created_at"`
|
||||||
|
|||||||
Reference in New Issue
Block a user