Commit d58ee553d76c900879958d68babc6a52e032d684
1 parent
7c65431cfa
Exists in
master
and in
4 other branches
Temporary removed user fetching for ADT
Showing 1 changed file with 2 additions and 1 deletions
api/app/Http/Controllers/V1/Partners/AdtController.php
View file @
d58ee55
... | ... | @@ -34,7 +34,8 @@ |
34 | 34 | } |
35 | 35 | |
36 | 36 | // publish to MQTT Broker |
37 | - Mqtt::ConnectAndPublish('adt/event', json_encode($mqttEvents), $request->user()->id); | |
37 | + // Mqtt::ConnectAndPublish('adt/event', json_encode($mqttEvents), $request->user()->id); | |
38 | + Mqtt::ConnectAndPublish('adt/event', json_encode($mqttEvents), 1); | |
38 | 39 | DB::table('adt')->insert($dbEvents); |
39 | 40 | |
40 | 41 | return response()->json(['success' => 'success'], 200); |