updated
Build and Test / build-and-test-backend (push) Successful in 1m24s
Build and Test / build-and-test-frontend (push) Successful in 37s

This commit is contained in:
wt committed 2025-10-08 12:46:10 +07:00
1 parent e16edd7744
commit 582ab5e7b9
3 files changed
+49 -47

No files matched your search

+3
View File
@@ -44,6 +44,9 @@ func GetAllOperations(userid string) ([]model.Operation, error) {
return nil, e
}
for i := range operations {
if operations[i].CategoryID == "" {
continue
}
var category model.Category
e := Db.First(&category, "ID = ?", operations[i].CategoryID).Error
if e != nil {