diff --git a/backend/api/helpers/webhooks.js b/backend/api/helpers/webhooks.js index 19d888f6..0bb36ca4 100644 --- a/backend/api/helpers/webhooks.js +++ b/backend/api/helpers/webhooks.js @@ -16,7 +16,7 @@ module.exports = { let embeds = [{ title: `Updated Import: ${wago.name}`, type: 'rich', - description: `${author.account.username} has created a new ${wago.type} import.`, + description: `${author.account.username} has created a new ${type} import.`, url: wago.url, timestamp: new Date(), color: 12658477, // #c1272d @@ -142,4 +142,4 @@ async function sendDiscordWebhook(data, id, token) { // catch (e) { // console.log(e.response) // } -// } \ No newline at end of file +// }