mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-09 12:40:24 +08:00
fix http
This commit is contained in:
2
http.go
2
http.go
@@ -17,7 +17,7 @@ import (
|
||||
)
|
||||
|
||||
func newHTTPEndpointRequestWithAuth(method, contenttype, ep string, auth string, body io.Reader) (req *http.Request, err error) {
|
||||
req, err = http.NewRequest(method, StandardAPI+ep, body)
|
||||
req, err = http.NewRequest(method, OpenAPI+ep, body)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user