Skip to content

Commit e066c19

Browse files
Now using the correct event_id key.
1 parent cad6129 commit e066c19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/robinpowered/sdk/model/adapter/InvitableAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public Invitable deserialize(
2828
boolean isInvitation = object.has("email") && !object.has("id");
2929
boolean isInvitee = object.has("email")
3030
&& object.has("id")
31-
&& object.has("eventId");
31+
&& object.has("event_id");
3232

3333
if (isInvitation) {
3434
return context.deserialize(object, Invitee.Invitation.class);

0 commit comments

Comments
 (0)