Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
added new route
Browse files Browse the repository at this point in the history
  • Loading branch information
Manas2403 committed Aug 2, 2023
1 parent 6fa9801 commit 8aef537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/form.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export async function deleteForm(req, res) {
export async function generateSubmissionLink(req, res) {
try {
const { formId } = req.params;
const { hostUrl } = req.query;
const { hostUrl } = req.body;
let submissionLinkGeneratedAt = Date.now();
let encryptedStr = await encryptString(
JSON.stringify({ formId, submissionLinkGeneratedAt }),
Expand Down

0 comments on commit 8aef537

Please sign in to comment.