Update test

Former-commit-id: 25644db2f3
This commit is contained in:
Owen
2025-12-08 12:12:35 -05:00
parent f8f368a981
commit b4f3619aff
2 changed files with 9 additions and 2 deletions

View File

@@ -13,6 +13,12 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Clone fosrl/newt
uses: actions/checkout@v6
with:
repository: fosrl/newt
path: ../newt
- name: Set up Go
uses: actions/setup-go@v6
with:

View File

@@ -38,8 +38,9 @@ func IsAuthError(err error) bool {
type TokenResponse struct {
Data struct {
Token string `json:"token"`
ExitNodes []ExitNode `json:"exitNodes"`
Token string `json:"token"`
ExitNodes []ExitNode `json:"exitNodes"`
ServerVersion string `json:"serverVersion"`
} `json:"data"`
Success bool `json:"success"`
Message string `json:"message"`