mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-22 23:48:09 +03:00
api/icons: fix typos in the minimum PNG size comment (#7867)
This commit is contained in:
1 parent
58a980f850
commit
970cc49182
1 file changed
+1
-1
+1
-1
@@ -524,7 +524,7 @@ async fn download_icon(domain: &str) -> Result<(Bytes, Option<&str>), Error> {
|
||||
Ok(())
|
||||
}) {
|
||||
Ok(_) => {
|
||||
// Also check if the size is atleast 67 bytes, which seems to be the smallest png i could create
|
||||
// Also check if the size is at least 67 bytes, which seems to be the smallest png I could create
|
||||
if body.len() >= 67 {
|
||||
// Check if the icon type is allowed, else try an icon from the list.
|
||||
icon_type = get_icon_type(&body);
|
||||
|
||||
Reference in new issue
Block a user