Updated refresh-token property names

This commit is contained in:
2026-03-03 20:07:35 +01:00
parent 56cc1c50a7
commit 2f4e0bb8ce

View File

@@ -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"`