Skip to main content

edit_theme

Function edit_theme 

Source
pub async fn edit_theme(
    db: &Db,
    user_id: i64,
) -> Result<Option<Theme>, ThemeError>
Expand description

The theme an operator edits: their own choice when it still exists, else the active theme.