Skip to content

Commit

Permalink
fix: put metadata for webclients
Browse files Browse the repository at this point in the history
  • Loading branch information
BettyB979 committed Dec 4, 2024
1 parent 961f322 commit a156c3e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ public ResponseEntity<MetadataDto> putMetadata(@PathVariable("id") String id,
source.setOwner(owner);
source.setSupport(support);

campaign = campaignService.insertOrUpdateCampaign(campaign);
survey = surveyService.insertOrUpdateSurvey(survey);
source = sourceService.insertOrUpdateSource(source);
owner = ownerService.insertOrUpdateOwner(owner);
support = supportService.insertOrUpdateSupport(support);
source = sourceService.insertOrUpdateSource(source);
survey = surveyService.insertOrUpdateSurvey(survey);
campaign = campaignService.insertOrUpdateCampaign(campaign);
partitioning = partitioningService.insertOrUpdatePartitioning(partitioning);

metadataReturn.setOwnerDto(convertToDto(owner));
metadataReturn.setSupportDto(convertToDto(support));
Expand Down

0 comments on commit a156c3e

Please sign in to comment.