mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-16 08:25:18 +02:00
Move smallwebrtc to constants
This commit is contained in:
parent
5ab93767dd
commit
b86a460062
3 changed files with 13 additions and 2 deletions
|
|
@ -16,6 +16,7 @@ import {
|
|||
} from '@/components/ui/dialog';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
|
||||
import { WORKFLOW_RUN_MODES } from '@/constants/workflowRunModes';
|
||||
import { useAuth } from '@/lib/auth';
|
||||
import logger from '@/lib/logger';
|
||||
import { getRandomId } from '@/lib/utils';
|
||||
|
|
@ -86,7 +87,7 @@ export default function CreateWorkflowPage() {
|
|||
workflow_id: Number(workflowId),
|
||||
},
|
||||
body: {
|
||||
mode: 'smallwebrtc', // Same mode as "Web Call" button
|
||||
mode: WORKFLOW_RUN_MODES.SMALL_WEBRTC, // Same mode as "Web Call" button
|
||||
name: workflowRunName
|
||||
},
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue