From 30d475ed3352ad42ea6cd9ce3c0a0cecb8c750ba Mon Sep 17 00:00:00 2001 From: slaveeks Date: Thu, 7 Jul 2022 13:13:42 +0300 Subject: [PATCH] Fixed braces in objects, added new lines --- src/backend/utils/downloadFavicon.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/backend/utils/downloadFavicon.ts b/src/backend/utils/downloadFavicon.ts index 2047e51..1a4bcee 100644 --- a/src/backend/utils/downloadFavicon.ts +++ b/src/backend/utils/downloadFavicon.ts @@ -48,8 +48,10 @@ export async function downloadFavicon(destination: string, faviconFolder: string // Check if string is url if (!checkIsUrl(destination)) { - return { destination: destination, - type: `image/${format}` } as FaviconData; + return { + destination: destination, + type: `image/${format}`, + } as FaviconData; } // Create timeout to abort request @@ -76,6 +78,8 @@ export async function downloadFavicon(destination: string, faviconFolder: string } }); - return { destination: `/favicon/favicon.${format}`, - type: `image/${format}` } as FaviconData; + return { + destination: `/favicon/favicon.${format}`, + type: `image/${format}`, + } as FaviconData; }