Try to use generated yookassa client (unsuccessful)
This commit is contained in:
@@ -4,6 +4,7 @@ package gen
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"log/slog"
|
||||
"net/http"
|
||||
|
||||
"github.com/go-faster/jx"
|
||||
@@ -76,6 +77,7 @@ func encodePayoutsPostRequest(
|
||||
req.Encode(e)
|
||||
}
|
||||
encoded := e.Bytes()
|
||||
slog.Info(string(encoded))
|
||||
ht.SetBody(r, bytes.NewReader(encoded), contentType)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user