Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
378 B
2
Indexable
whatsapp.Status = strings.ToLower(string(dataDevice.Device.Status))
whatsapp.IsAuth = dataDevice.Device.IsAuth
whatsapp.Photo = dataDevice.Device.Socket.PhotoProfile
whatsapp.PhoneNumber = dataDevice.Device.Socket.PhoneNumber
// byteJson, _ := json.Marshal(whatsapp)
// fmt.Println("whatsapp", string(byteJson))
_, uc := uc.waRepo.UpdateById(ctx, &whatsapp.ID, whatsapp)