mirror of
https://github.com/woodchen-ink/certimate.git
synced 2025-07-18 01:11:55 +08:00
fix: #852
This commit is contained in:
parent
1e4cd2b9d5
commit
b6c59c57de
@ -22,7 +22,7 @@ func NewClient(apiToken string) (*Client, error) {
|
||||
SetHeader("Accept", "application/json").
|
||||
SetHeader("Content-Type", "application/json").
|
||||
SetHeader("User-Agent", "certimate").
|
||||
SetHeader("Token", apiToken)
|
||||
SetQueryParam("token", apiToken)
|
||||
|
||||
return &Client{client}, nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user