Updated refresh-token property names

This commit is contained in:
2026-03-03 19:54:21 +01:00
parent 088d32984c
commit 56cc1c50a7

View File

@@ -1,11 +1,11 @@
package models
type RefreshToken struct {
ID string `json:id`
UserID string `json:userid`
Token string `json:token`
ExpiresAt int64 `json:expiresat`
CreatedAt int64 `json:createdat`
Revoked bool `json:revoked`
DeviceInfo string `json:deviceinfo`
ID string `json:"id"`
UserID string `json:"userid"`
Token string `json:"token"`
ExpiresAt int64 `json:"expires_at"`
CreatedAt int64 `json:"created_at"`
Revoked bool `json:"revoked"`
DeviceInfo string `json:"device_info"`
}