fix: add Authorization header to test_create_session.go
This commit is contained in:
parent
fb9c85f883
commit
ac64c2d012
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue