ezidam: branding page: logo update/delete, update business name
This commit is contained in:
parent
d8fe336b06
commit
3532f80882
10 changed files with 165 additions and 52 deletions
|
|
@ -52,6 +52,12 @@ impl Settings {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub async fn delete_business_logo(conn: impl SqliteExecutor<'_>) -> Result<(), Error> {
|
||||
DatabaseSettings::set_business_logo(conn, None).await?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub async fn set_first_admin(conn: impl SqliteExecutor<'_>, id: &UserID) -> Result<(), Error> {
|
||||
DatabaseSettings::set_first_admin(conn, &id.0).await?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue