Fix income category not being correct for newly created budget
This commit is contained in:
parent
8fe91293e1
commit
ed321d3895
@ -59,5 +59,6 @@ func (s *Database) NewBudget(context context.Context, name string, userID uuid.U
|
||||
return nil, fmt.Errorf("commit: %w", err)
|
||||
}
|
||||
|
||||
budget.IncomeCategoryID = cat.ID
|
||||
return &budget, nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user