Typo
This commit is contained in:
parent
11218c2b19
commit
45b062b83b
|
|
@ -79,7 +79,7 @@ public class ApplicationController extends BaseController<ApplicationService, Ap
|
||||||
public Mono<ResponseDTO<Boolean>> publish(@PathVariable String applicationId) {
|
public Mono<ResponseDTO<Boolean>> publish(@PathVariable String applicationId) {
|
||||||
return applicationPageService.publish(applicationId)
|
return applicationPageService.publish(applicationId)
|
||||||
.map(application -> {
|
.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.
|
// controller and not the service method.
|
||||||
applicationPageService.sendApplicationPublishedEvent(application);
|
applicationPageService.sendApplicationPublishedEvent(application);
|
||||||
// This will only be called when the publishing was successful, so we can always return `true` here.
|
// This will only be called when the publishing was successful, so we can always return `true` here.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user