mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 05:26:59 +00:00
fix: uploading server banners was broken
This commit is contained in:
@@ -139,7 +139,7 @@ pub async fn req(
|
||||
|
||||
// 3. Apply new banner
|
||||
if let Some(banner) = banner {
|
||||
partial.banner = Some(File::use_server_icon(db, &banner, &server.id).await?);
|
||||
partial.banner = Some(File::use_banner(db, &banner, &server.id).await?);
|
||||
server.banner = partial.banner.clone();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user