Skip to main content

settings_get

Function settings_get 

Source
pub async fn settings_get(
    handle: State<'_, SettingsHandle>,
) -> Result<Settings, AppError>
Expand description

Return the current settings as a serialised Settings value.

The frontend can call this on startup to hydrate its settings state.