Updated refresh-token property names
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
type RefreshToken struct {
|
type RefreshToken struct {
|
||||||
ID string `json:id`
|
ID string `json:"id"`
|
||||||
UserID string `json:userid`
|
UserID string `json:"userid"`
|
||||||
Token string `json:token`
|
Token string `json:"token"`
|
||||||
ExpiresAt int64 `json:expiresat`
|
ExpiresAt int64 `json:"expires_at"`
|
||||||
CreatedAt int64 `json:createdat`
|
CreatedAt int64 `json:"created_at"`
|
||||||
Revoked bool `json:revoked`
|
Revoked bool `json:"revoked"`
|
||||||
DeviceInfo string `json:deviceinfo`
|
DeviceInfo string `json:"device_info"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user