bypass error

This commit is contained in:
daniel31x13
2024-01-17 10:30:35 -05:00
parent 0c78187a10
commit 3565ad3e7c
2 changed files with 2 additions and 7 deletions
-6
View File
@@ -67,12 +67,6 @@ export default async function postLink(
const validatedUrl = link.url ? await validateUrlSize(link.url) : undefined;
if (validatedUrl === null)
return {
response: "Something went wrong while retrieving the file size.",
status: 400,
};
const contentType = validatedUrl?.get("content-type");
let linkType = "url";
let imageExtension = "png";