mirror of
https://github.com/fosrl/olm.git
synced 2026-02-08 05:56:41 +00:00
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user