From 581da2f12d52617368bdfe2625f5b0ef1dd32758 Mon Sep 17 00:00:00 2001 From: eiixy <990656271@qq.com> Date: Mon, 29 Jul 2024 01:43:45 +0800 Subject: [PATCH] fix: #804 (#807) --- batch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch.go b/batch.go index a43d401ab..3c1a9d0d7 100644 --- a/batch.go +++ b/batch.go @@ -65,7 +65,7 @@ type Batch struct { Endpoint BatchEndpoint `json:"endpoint"` Errors *struct { Object string `json:"object,omitempty"` - Data struct { + Data []struct { Code string `json:"code,omitempty"` Message string `json:"message,omitempty"` Param *string `json:"param,omitempty"`