No authorization middleware as the caller is checked to be the station canister.
(&self, id: UUID)
| 298 | |
| 299 | // No authorization middleware as the caller is checked to be the station canister. |
| 300 | async fn try_execute_request(&self, id: UUID) -> Result<(), RequestExecuteError> { |
| 301 | let ctx = call_context(); |
| 302 | if !ctx.caller_is_self() { |
| 303 | trap("The method `try_execute_request` can only be called by the station canister."); |
| 304 | } |
| 305 | self.request_service.try_execute_request(id).await |
| 306 | } |
| 307 | } |
no test coverage detected