Skip to content

Commit

Permalink
fix: json parsing issue with empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
YermekG committed Aug 21, 2024
1 parent f253a3c commit e46ce3a
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 e46ce3a

Please sign in to comment.