Skip to content

Commit 1018c72

Browse files
authored
Fix format that sample updates are pub'd as for cmo patient corrections (#1643)
Signed-off-by: Angelica Ochoa <15623749+ao508@users.noreply.github.com>
1 parent 346dddb commit 1018c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/src/main/java/org/mskcc/smile/service/impl/CorrectCmoPatientHandlingServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void run() {
196196
LOG.info("Publishing sample-level metadata history for sample: "
197197
+ sample.getLatestSampleMetadata().getPrimaryId());
198198
messagingGateway.publish(CMO_SAMPLE_UPDATE_TOPIC,
199-
mapper.writeValueAsString(sample.getSampleMetadataList()));
199+
mapper.writeValueAsString(sample));
200200
}
201201
}
202202
}

0 commit comments

Comments
 (0)