fix device details name and capitalize database queries

This commit is contained in:
SowinskiBraeden committed 2022-10-21 17:12:10 -07:00
1 parent aca61eea25
commit 10bc974d2d
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ package models
// Device holds the structure for the device collection in mongo
type Device struct {
ID string `json:"_id" bson:"_id"` // MongoDB ID
Details DeviceDetails `json:"device" bson:"Device"` // Details
Details DeviceDetails `json:"device" bson:"Details"` // Details
}
// Device holds the structure for the Device collection in mongo