Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sharat87 committed Jun 18, 2021
1 parent 11218c2 commit 45b062b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public Mono<ResponseDTO<Application>> create(@Valid @RequestBody Application res
public Mono<ResponseDTO<Boolean>> publish(@PathVariable String applicationId) {
return applicationPageService.publish(applicationId)
.map(application -> {
// This even should parallel a similar even sent from the client, so we want it to be sent by the
// This event should parallel a similar even sent from the client, so we want it to be sent by the
// controller and not the service method.
applicationPageService.sendApplicationPublishedEvent(application);
// This will only be called when the publishing was successful, so we can always return `true` here.
Expand Down

0 comments on commit 45b062b

Please sign in to comment.