Function backend::service::guided_tours::find_by_user

source ·
pub async fn find_by_user(
    user_id: Uuid,
    app_data: &Data<AppDataInner>,
) -> Result<GuidedToursDto, ServiceError>
Expand description

Get the Guided Tour status for a user. A new Guided Tour status will be created if none for this user exist.

§Errors

If the connection to the database could not be established.