mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-22 09:37:54 +00:00
chore: make format match other discord webhooks
This commit is contained in:
@@ -69,9 +69,7 @@ export const notifyAcceptedQuestion = functions
|
||||
|
||||
try {
|
||||
const response = await axios.post(DISCORD_WEBHOOK_URL, {
|
||||
json: {
|
||||
text: `❓ ${username} has a new question: ${title}\n Help them out and answer here: ${SITE_URL}/questions/${slug}`,
|
||||
},
|
||||
content: `❓ ${username} has a new question: ${title}\nHelp them out and answer here: <${SITE_URL}/questions/${slug}>`,
|
||||
})
|
||||
handleResponse(response)
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user