diff options
author | 2021-05-30 23:30:46 +0300 | |
---|---|---|
committer | 2021-05-30 23:30:46 +0300 | |
commit | a6cee10c0430ccc5c77fa72a867cd24acb2ba07d (patch) | |
tree | e4fe97853d61ba40a996a6145decdb255b8ea68a | |
parent | Validates Form Patch Request (diff) |
Set Form Viewing URL
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 4d15ab7..c0a50f3 100644 --- a/backend/routes/forms/submit.py +++ b/backend/routes/forms/submit.py @@ -233,7 +233,7 @@ class SubmitForm(Route): embed = { "title": "New Form Response", "description": f"{mention} submitted a response to `{form.name}`.", - "url": f"{constants.FRONTEND_URL}/path_to_view_form/{response.id}", # noqa # TODO: Enter Form View URL + "url": f"{constants.FRONTEND_URL}/form/{form.id}/{response.id}", "timestamp": response.timestamp, "color": 7506394, } |