Skip to content

Commit

Permalink
Merge pull request #21 from Best-offer-finder/BOF-9-return-notificati…
Browse files Browse the repository at this point in the history
…ons-field

BOF-9 Return notifications field
  • Loading branch information
Vertonowsky authored Jun 13, 2024
2 parents 435eda2 + c33dfab commit e8b962e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ private static Map<Task, SerializationTask> initializeSerializationTasks() {
private static void base(SchemeDto schemeDto, Scheme scheme) {
schemeDto.setId(scheme.getId());
schemeDto.setName(scheme.getName());
schemeDto.setNotifications(scheme.isNotifications());
try {
OtomotoDto otomotoDto = OBJECT_MAPPER.readValue(scheme.getData(), OtomotoDto.class);
Set<FilterValueDto> filterList = Optional.ofNullable(otomotoDto).map(OtomotoDto::getVariables)
Expand Down

0 comments on commit e8b962e

Please sign in to comment.