tsk-24: Added IssuedAt to token.LoginResult (#28)

Closes #24

Reviewed-on: phoenix/textsender-models#28
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-12-30 23:48:45 +00:00
committed by phoenix
parent 9be6fa9b34
commit 08f5938b79
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
run: |
echo "Creating version"
VERSION="0.0.13"
VERSION="0.0.14"
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
+1
View File
@@ -16,6 +16,7 @@ type LoginResult struct {
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
ExpiresIn int64 `json:"expires_in"`
IssuedAt int64 `json:"issued_at"`
}
// Alias for LoginResult