We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69f9ff commit d7b10e9Copy full SHA for d7b10e9
handlers/producer.go
@@ -102,7 +102,7 @@ func CreateHandleBatch(conn *memphis.Conn) func(*fiber.Ctx) error {
102
103
switch contentType {
104
case "application/json":
105
- var batchReq []map[string]string
+ var batchReq []map[string]any
106
err := json.Unmarshal(bodyReq, &batchReq)
107
if err != nil {
108
return errors.New("unsupported request")
0 commit comments