Function get_notification

Source
pub async fn get_notification<J, RR, TR, NR, NFR, SR, TCR, PR>(
    notification_id: String,
    state: ThinDataAppState<J, RR, TR, NR, NFR, SR, TCR, PR>,
) -> Result<HttpResponse, ApiError>
Expand description

Retrieves details of a specific notification by ID.

§Arguments

  • notification_id - The ID of the notification to retrieve.
  • state - The application state containing the notification repository.

§Returns

The notification details or an error if not found.