fix: add Authorization header to test_create_session.go

This commit is contained in:
hailin 2025-12-06 02:33:59 -08:00
parent fb9c85f883
commit ac64c2d012
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ func main() {
req.Header.Set("Content-Type", "application/json")
req.Header.Set("X-API-Key", apiKey)
req.Header.Set("Authorization", "Bearer "+token)
client := &http.Client{Timeout: 10 * time.Second}
resp, err := client.Do(req)