remove debug()

This commit is contained in:
dpurbosakti
2025-09-09 13:44:18 +07:00
parent e4358034d9
commit e2f8947d39
55 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func ReadListData(input e.ReadListDto, event *pl.Event, dbx ...*gorm.DB) ([]e.So
Scopes(gh.Paginate(input, &pagination)).
Order("\"CreatedAt\" DESC")
if err := tx.Debug().Find(&data).Error; err != nil {
if err := tx.Find(&data).Error; err != nil {
if err == gorm.ErrRecordNotFound {
return nil, &meta, nil
}