From 4f33058b63f272f68107060188575c04fcf06530 Mon Sep 17 00:00:00 2001 From: nzambello Date: Thu, 7 Jul 2022 09:50:09 +0200 Subject: [PATCH] style: run prettier --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e7e30bc..cc860c5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -93,7 +93,7 @@ const getLinkPreview = async (url: string, options?: ILinkPreviewerOptions) => { : ('error' as 'error'), }; - const response = await fetch(fetchUrl, fetchOptions).catch((e) => { + const response = await fetch(fetchUrl, fetchOptions).catch(e => { if (e.name === 'AbortError') { throw new Error('Request timeout'); }