Merge branch 'fronkdev' into 'master'
changed Rimoapi::addRemark() to take api key parameter See merge request fronk/thetool!2007
This commit is contained in:
@@ -553,13 +553,13 @@ class Rimoapi {
|
||||
return $resp_data;
|
||||
}
|
||||
|
||||
public static function addRemark($object_id, $text) {
|
||||
public static function addRemark($apikey, $object_id, $text) {
|
||||
if(!$object_id || !$text) return false;
|
||||
|
||||
$log = mfLoghandler::singleton();
|
||||
|
||||
$params = [];
|
||||
$params['apiKey'] = RIMO_API_JSON_APIKEY;
|
||||
$params['apiKey'] = $apikey;
|
||||
$params['objectId'] = $object_id;
|
||||
$params['text'] = $text;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user