Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Update device_service.go
Browse files Browse the repository at this point in the history
  • Loading branch information
November-12 committed Sep 1, 2023
1 parent 9aac097 commit fe34a55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/device_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -1505,8 +1505,7 @@ func (*DeviceService) SubscribeGatwayEvent(body []byte, topic string) bool {
ReportTime: time.Now().Unix(),
}

ea := psql.Mydb.Create(&m)
fmt.Println(ea.Error)
_ = psql.Mydb.Create(&m)
}

return true
Expand Down

0 comments on commit fe34a55

Please sign in to comment.