mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 12:36:57 +00:00
webhook calls moved server-side
This commit is contained in:
@@ -29,8 +29,8 @@ export const handleTournamentSubmit = async (
|
||||
setIsSending(true);
|
||||
|
||||
try {
|
||||
await tournamentFormToDB(formRefs); // write to DB
|
||||
await discordWebhook(formRefs); // send Discord notification
|
||||
await tournamentFormToDB(formRefs); // write to DB
|
||||
setIsSending(false);
|
||||
setResponseMessage({
|
||||
isSuccessful: true,
|
||||
|
||||
Reference in New Issue
Block a user