backend::service::guided_tours

Function find_by_user

source
pub async fn find_by_user(
    user_id: Uuid,
    pool: &SharedPool,
) -> 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.