Skip to content

Commit

Permalink
fix: json parsing issue with empty string (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
YermekG authored Aug 22, 2024
1 parent f253a3c commit 076041b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Immutable/Private/Immutable/ImmutableAnalytics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void UImmutableAnalytics::Track(EEventName EventName)

FString FullData;

FJsonObjectConverter::UStructToJsonObjectString<FEventData>({ "unrealSdk", GetEventName(EventName), "" }, FullData);
FJsonObjectConverter::UStructToJsonObjectString<FEventData>({ "unrealSdk", GetEventName(EventName), "{}" }, FullData);

JSConnector->CallJS(ImmutablePassportAction::TRACK, FullData, FImtblJSResponseDelegate::CreateUObject(this, &UImmutableAnalytics::OnTrackResponse));
}
Expand Down

0 comments on commit 076041b

Please sign in to comment.