diff options
author | 2021-07-06 20:36:37 +0300 | |
---|---|---|
committer | 2021-07-06 20:36:37 +0300 | |
commit | 412b27b3f3aae74d4e4bd1df67abfe91796effc4 (patch) | |
tree | 467820c34b748ec8ac966ee4e145edc9c37162c7 | |
parent | Merge 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]>
-rw-r--r-- | backend/routes/forms/submit.py | 2 |
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, } |