MCPcopy Create free account
hub / github.com/dfinity/orbit / rejected_request_hook

Method rejected_request_hook

core/station/impl/src/services/request.rs:365–376  ·  view source on GitHub ↗
(&self, request: &Request)

Source from the content-addressed store, hash-verified

363 }
364
365 async fn rejected_request_hook(&self, request: &Request) {
366 self.notification_service
367 .send_notification(
368 request.requested_by,
369 NotificationType::RequestRejected(RequestRejectedNotification {
370 request_id: request.id,
371 }),
372 request.title.to_owned(),
373 request.summary.to_owned(),
374 )
375 .await;
376 }
377
378 pub async fn failed_request_hook(&self, request: &Request) {
379 self.notification_service

Callers 2

create_requestMethod · 0.80

Calls 1

send_notificationMethod · 0.80

Tested by

no test coverage detected