Update WirelessSensor.php (#16016)

I was getting a SQL error that sensors_id was not found.  I changed the reference to sensor_id.
This commit is contained in:
whitej46
2024-05-03 22:35:07 -05:00
committed by GitHub
parent 5b20886732
commit 2efd30fe39
+1 -1
View File
@@ -28,7 +28,7 @@ namespace App\Models;
class WirelessSensor extends DeviceRelatedModel
{
public $timestamps = false;
protected $primaryKey = 'sensors_id';
protected $primaryKey = 'sensor_id';
// ---- Helper Functions ----