From 02e5845417da35c3ac81ac44d54eac0bc6a47583 Mon Sep 17 00:00:00 2001 From: Jordan Wu <101218661+jordan-wu-97@users.noreply.github.com> Date: Fri, 28 Jun 2024 00:28:35 -0700 Subject: [PATCH] fix(events): fix batch event result (#187) Co-authored-by: Jordan Wu <101218661+jordan-definitive@users.noreply.github.com> --- event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.go b/event.go index aa7e1ab..2fc5ae5 100644 --- a/event.go +++ b/event.go @@ -142,7 +142,7 @@ func (er *EventRequest) Batch(ctx context.Context, batchInput *[]EventInput) (*[ clientRequest := &ClientRequest{ Path: "events/batch", - Result: &EventResult{}, + Result: &BatchEventResult{}, Body: eventParams, }