From 2044e30d90fb2094d4a905d3a23071cb6937e383 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 6 Feb 2024 16:49:42 +0100 Subject: Server Tokens: Rename `expires_in` to `expires_at` expires_in was confusing --- types/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/server/server.go b/types/server/server.go index 10b1cc4..a9c6934 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -104,7 +104,7 @@ type Tokens struct { // Refresh is the refresh token Refresh string `json:"refresh_token"` // Expires is the Unix timestamp when the token expires - Expires int64 `json:"expires_in"` + Expires int64 `json:"expires_at"` } // Server is the basic type for a server. This is the base for secure internet and institute access. Custom servers are equal to this type -- cgit v1.2.3