validate auth from old app and fill auth info
This commit is contained in:
No files matched your search
@@ -381,9 +381,7 @@ func updatePatientCaraBayar(input etp.TPendaftaran, event *pl.Event, dbx ...*gor
|
||||
|
||||
if err := tx.Model(&ep.MPasien{}).
|
||||
Where("\"nomr\" = ?", input.Nomr).
|
||||
Updates(map[string]interface{}{
|
||||
"kdcarabayar": input.Kdcarabayar,
|
||||
}).Error; err != nil {
|
||||
Update("kdcarabayar", input.Kdcarabayar).Error; err != nil {
|
||||
event.Status = "failed"
|
||||
event.ErrInfo = pl.ErrorInfo{
|
||||
Code: "update-fail",
|
||||
|
||||
Reference in New Issue
Block a user