Skip to main content

update_user_name

Function update_user_name 

Source
pub async fn update_user_name(
    conn: &mut PgConnection,
    user_id: Uuid,
    first_name: &str,
    last_name: &str,
) -> ModelResult<()>
Expand description

Sets the name alone. The caller also pushes it to TMC, which otherwise keeps the old one.