Ajouter un champ supplémentaire à la requête de création de vidéo
This commit is contained in:
@@ -392,7 +392,7 @@ router.get('/videos/:id', (req, res) => {
|
||||
* description: Internal server error
|
||||
*/
|
||||
router.post('/createvideo', (req, res) => {
|
||||
const query = 'INSERT INTO public.videos (project_id, measurement_ids, video_path, start_timestamp, end_timestamp, image_count, resolution, duration, fps, status, name) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING id';
|
||||
const query = 'INSERT INTO public.videos (project_id, measurement_ids, video_path, start_timestamp, end_timestamp, image_count, resolution, duration, fps, status, name) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING id';
|
||||
|
||||
list_ids = req.body.measurement_ids.split(',');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user