(input: ListNotificationsInput)
| 17 | // Canister entrypoints for the controller. |
| 18 | #[query(name = "list_notifications")] |
| 19 | async fn list_notifications(input: ListNotificationsInput) -> ApiResult<ListNotificationsResponse> { |
| 20 | CONTROLLER.list_notifications(input).await |
| 21 | } |
| 22 | |
| 23 | #[update(name = "mark_notifications_read")] |
| 24 | async fn mark_notifications_read(input: MarkNotificationsReadInput) -> ApiResult<()> { |
nothing calls this directly
no test coverage detected