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 // Build the embed
const embed = new MessageBuilder() const embed = new MessageBuilder()
.setTitle(logInfo) .setTitle(logInfo)
//@ts-ignore // @ts-ignore
.setURL(resourceUrl) .setUrl(resourceUrl)
.setDescription(`${admin ? `**User:** \`${uploader}\`\n` : ''}**Size:** \`${formatBytes(req.file.size)}\`\n**[Delete](${deleteUrl})**`) .setDescription(`${admin ? `**User:** \`${uploader}\`\n` : ''}**Size:** \`${formatBytes(req.file.size)}\`\n**[Delete](${deleteUrl})**`)
.setThumbnail(thumbnailUrl) .setThumbnail(thumbnailUrl)
// @ts-ignore
.setColor(req.file.vibrant) .setColor(req.file.vibrant)
.setTimestamp(); .setTimestamp();

Loading…
Cancel
Save