aboutsummaryrefslogtreecommitdiffstats
path: root/backend/routes/forms/submit.py
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2021-07-06 20:36:37 +0300
committerGravatar Hassan Abouelela <[email protected]>2021-07-06 20:36:37 +0300
commit412b27b3f3aae74d4e4bd1df67abfe91796effc4 (patch)
tree467820c34b748ec8ac966ee4e145edc9c37162c7 /backend/routes/forms/submit.py
parentMerge pull request #92 from python-discord/unittest_failures (diff)
Uses Backend URL In Embed
Temporarily switches the URL in discord embeds from the frontend, to the backend, to allow for easier viewing until the frontend is ready. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'backend/routes/forms/submit.py')
-rw-r--r--backend/routes/forms/submit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/routes/forms/submit.py b/backend/routes/forms/submit.py
index 7229ee1..d0ce22c 100644
--- a/backend/routes/forms/submit.py
+++ b/backend/routes/forms/submit.py
@@ -276,7 +276,7 @@ class SubmitForm(Route):
embed = {
"title": "New Form Response",
"description": f"{mention} submitted a response to `{form.name}`.",
- "url": f"{constants.FRONTEND_URL}/form/{form.id}/{response.id}",
+ "url": f"https://forms-api.pythondiscord.com/forms/{form.id}/responses/{response.id}",
"timestamp": response.timestamp,
"color": 7506394,
}