1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-09 12:40:24 +08:00
This commit is contained in:
源文雨
2023-10-12 01:00:38 +09:00
parent de27ba9f2a
commit 3e595b0dee
4 changed files with 12 additions and 8 deletions

View File

@@ -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
}