mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Fixed serialization error that leads to unparseable JSON - strings always must be serialized as strings to get the quotes
This commit is contained in:
1 parent
640e8aa964
commit
072fc9167f
1 file changed
+1
-1
+1
-1
@@ -30,7 +30,7 @@ public class RaceLogDenoteForTrackingEventSerializer extends BaseRaceLogEventSer
|
||||
JSONObject result = super.serialize(event);
|
||||
result.put(FIELD_RACE_NAME, event.getRaceName());
|
||||
result.put(FIELD_BOAT_CLASS, event.getBoatClass().getName());
|
||||
result.put(FIELD_RACE_ID, event.getRaceId());
|
||||
result.put(FIELD_RACE_ID, event.getRaceId().toString());
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user