Skip to content

Commit 66771f7

Browse files
committed
When sending an event, the response "message" field can be null.
1 parent 9f40f1c commit 66771f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Requests/Events/EventSendRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function createDtoFromResponse(Response $response): EventSendResponse
3232

3333
return new EventSendResponse(
3434
success: $data['success'],
35-
message: $data['message']
35+
message: $data['message'] ?? null
3636
);
3737
}
3838

0 commit comments

Comments
 (0)