Added route for saving device info
This commit is contained in:
@@ -7,6 +7,7 @@ type Device struct {
|
||||
DeviceName string
|
||||
DeviceConfiguration string `gorm:"type:json"`
|
||||
CompanyID uint
|
||||
DeviceInfos []DeviceInfo
|
||||
}
|
||||
|
||||
func (Device)Update() (bool, error) {
|
||||
|
||||
Reference in New Issue
Block a user