Commit 7c65431cfa4a5297510f6c2d53a2ded6dca3ed35
1 parent
2d80bd57ce
Exists in
master
and in
4 other branches
Temporary removed user fetching
Showing 1 changed file with 2 additions and 1 deletions
api/app/Http/Controllers/V1/Partners/XlsiemController.php
View file @
7c65431
... | ... | @@ -44,7 +44,8 @@ |
44 | 44 | } |
45 | 45 | |
46 | 46 | // publish to MQTT Broker |
47 | - Mqtt::ConnectAndPublish('xlsiem/event', json_encode($mqttEvents), $request->user()->id); | |
47 | + //Mqtt::ConnectAndPublish('xlsiem/event', json_encode($mqttEvents), $request->user()->id); | |
48 | + Mqtt::ConnectAndPublish('xlsiem/event', json_encode($mqttEvents), 1); | |
48 | 49 | DB::table('xlsiem')->insert($dbEvents); |
49 | 50 | |
50 | 51 | return response()->json(['success' => 'success'], 200); |