Added route for saving device info

This commit is contained in:
Nedim
2023-09-12 18:28:18 +02:00
parent 32c0cd1ffc
commit 386f051d67
7 changed files with 74 additions and 18 deletions

View File

@@ -7,6 +7,7 @@ type Device struct {
DeviceName string
DeviceConfiguration string `gorm:"type:json"`
CompanyID uint
DeviceInfos []DeviceInfo
}
func (Device)Update() (bool, error) {