DC in local network
This commit is contained in:
@ -39,6 +39,10 @@ func handleGetProducts(dbConn *gorm.DB) gin.HandlerFunc {
|
||||
|
||||
products := db.GetProducts(dbConn, machineId)
|
||||
|
||||
// for i := 0; i < len(*products); i++ {
|
||||
// (*products)[i].Name = fmt.Sprintf("[local] %s", (*products)[i].Name)
|
||||
// }
|
||||
|
||||
c.JSON(
|
||||
http.StatusOK,
|
||||
GetProductsResponse{
|
||||
|
||||
Reference in New Issue
Block a user