[fix] added in modules.json fetchDefault::motheure_simple

This commit is contained in:
xdrm-brackets 2017-10-13 18:39:51 +02:00
parent 474d60394d
commit 2655edee5d
2 changed files with 12 additions and 1 deletions

View File

@ -153,7 +153,7 @@
]);
// {2} Process + get response //
$upd_res = $log_req->dispatch();
$upd_res = $upd_req->dispatch();
/* (3) Retourne le nombre d'entrées enregistrées */
return [ 'saved' => $count ];

View File

@ -572,6 +572,17 @@
"output": {
"saved": { "description": "Nombre d'entrées enregistrées", "type": "id" }
}
},
"POST::motheure_simple": {
"description": "Enregistrement du compte horaire de l'e-tree SIMPLE du module MOTHEURE",
"permissions": [["sats"]],
"parameters": {
"data": { "descripton": "Cycles horaires reçus", "type": "mixed" }
},
"output": {
"saved": { "description": "Nombre d'entrées enregistrées", "type": "id" }
}
}
},