read_user_state_from_db

Function read_user_state_from_db 

Source
pub async fn read_user_state_from_db(
    user_id: String,
    db: &PgPool,
) -> Result<UserState, AppError>
Expand description

Reads user state from the database.