à jour
This commit is contained in:
@@ -181,10 +181,12 @@ async function renderVideo(id){
|
||||
async function start_timelapse(id,frequency){
|
||||
try {
|
||||
const mydata = JSON.stringify({
|
||||
frequency:frequency
|
||||
projectId: id,
|
||||
interval: frequency
|
||||
|
||||
});
|
||||
const response = await $.ajax({
|
||||
url: api_url.concat(`/procedure/start/`+id),
|
||||
url: api_url.concat(`/procedure/start/`),
|
||||
method: "POST",
|
||||
dataType: "json",
|
||||
contentType: "application/json",
|
||||
@@ -204,7 +206,7 @@ async function stopCamera(id){
|
||||
info:"None"
|
||||
});
|
||||
const response = await $.ajax({
|
||||
url: api_url.concat(`/procedure/stop`+id),
|
||||
url: api_url.concat(`/procedure/stop`),
|
||||
method: "POST",
|
||||
dataType: "json",
|
||||
contentType: "application/json",
|
||||
|
||||
Reference in New Issue
Block a user