feat: get target url from req body

This commit is contained in:
amhsirak
2025-03-18 23:26:17 +05:30
parent 39022a5316
commit d2dbef74fb

View File

@@ -259,7 +259,7 @@ function handleWorkflowActions(workflow: any[], credentials: Credentials) {
router.put('/recordings/:id', requireSignIn, async (req: AuthenticatedRequest, res) => {
try {
const { id } = req.params;
const { name, limit, credentials } = req.body;
const { name, limit, credentials, targetUrl } = req.body;
// Validate input
if (!name && limit === undefined) {