fix: update SQL insert statement in CounterServer module and increment build number in library.json
This commit is contained in:
1 parent
24f25f17eb
commit
3df0f898db
2 files changed
+2
-4
No files matched your search
@@ -66,13 +66,11 @@ class CounterServer extends IPSModule
|
||||
// ---------- UPSERT ----------
|
||||
$sql = "
|
||||
INSERT INTO meter_devices
|
||||
(project_id, counter_id, meter_uuid, meter_name, external_id, external_name, meter_type, billing_unit, is_active)
|
||||
(project_id, counter_id, meter_uuid, external_id, external_name, meter_type, billing_unit, is_active)
|
||||
VALUES
|
||||
(
|
||||
" . ($projectId === 'NULL' ? 'NULL' : $projectId) . ",
|
||||
'" . $this->esc($counterId) . "',
|
||||
'" . $this->esc($clientId . '_' . $counterId) . "',
|
||||
'" . $this->esc($counterName) . "',
|
||||
'" . $this->esc($counterId) . "',
|
||||
'" . $this->esc($clientId) . "',
|
||||
'" . $this->esc($clientName) . "',
|
||||
|
||||
Reference in new issue
Block a user