fix: DeepSource JS-0295 but idfk why it's only complaining here

There's so much `// @ts-ignore` but it only cares about this?
pull/171/head
tycrek 2 years ago
parent 1aaf298b02
commit 3dab919e3f
No known key found for this signature in database
GPG Key ID: FF8A54DCE404885A

@ -129,10 +129,11 @@ router.post('/', (req: Request, res: Response, next: Function) => {
// Build the embed
const embed = new MessageBuilder()
.setTitle(logInfo)
//@ts-ignore
.setURL(resourceUrl)
// @ts-ignore
.setUrl(resourceUrl)
.setDescription(`${admin ? `**User:** \`${uploader}\`\n` : ''}**Size:** \`${formatBytes(req.file.size)}\`\n**[Delete](${deleteUrl})**`)
.setThumbnail(thumbnailUrl)
// @ts-ignore
.setColor(req.file.vibrant)
.setTimestamp();

Loading…
Cancel
Save