Skip to content

Commit 7b7cc6b

Browse files
authored
rename Method
1 parent de4be4f commit 7b7cc6b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/api/mobile.api.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,13 @@
173173
$jsonrpc->makeSuccess();
174174
}
175175

176-
if ($jsonrpc->getMethod() == 'saveinJeedom'){
177-
log::add('mobile', 'debug', 'Geoloc ADD'. $params['id'] .' > ' . $params['name']);
176+
if ($jsonrpc->getMethod() == 'geolocSave'){
177+
log::add('mobile', 'debug', 'Geoloc ADD '. $params['id'] .' > ' . $params['name']);
178178
mobile::SaveGeoloc($params);
179179
$jsonrpc->makeSuccess();
180180
}
181181

182-
if ($jsonrpc->getMethod() == 'delinJeedom'){
182+
if ($jsonrpc->getMethod() == 'geolocDel'){
183183
log::add('mobile', 'debug', 'Geoloc DEL '. $params['id'] .' > ' . $params['name']);
184184
mobile::DelGeoloc($params);
185185
$jsonrpc->makeSuccess();

0 commit comments

Comments
 (0)