invoke

suspend fun invoke(call: ApplicationCall)

Handles the cancel plan request.

Receives the cancel plan request, invokes the cancel plan use case, and responds with the result. If an exception occurs, it logs the error and responds with the appropriate HTTP error response.

Parameters

call

The application call instance.