chore: deno fmt
This commit is contained in:
@@ -12,7 +12,7 @@ async function addImageToResource<T extends GenericResource>(
|
||||
if (imageUrl) {
|
||||
try {
|
||||
const absoluteImageUrl = (imageUrl.startsWith("https://") ||
|
||||
imageUrl.startsWith("http://"))
|
||||
imageUrl.startsWith("http://"))
|
||||
? imageUrl
|
||||
: `${url}/${imageUrl}`;
|
||||
const image = await getImage(absoluteImageUrl);
|
||||
|
||||
Reference in New Issue
Block a user