Add marker for Hepler_ExpenseBulk.CreateExpenseFromChild to sweep it under the rug
This commit is contained in:
parent
8807235dad
commit
f221480b2c
|
@ -34,6 +34,7 @@ type Helper_ExpenseBulk struct {
|
|||
UserID uint
|
||||
}
|
||||
|
||||
// {{{ Helper_ExpenseBulk.CreateExpenseFromChild I'm not proud of this code
|
||||
func (he *Helper_ExpenseBulk) CreateExpenseFromChild(c Expense) *Expense {
|
||||
var cardID uint
|
||||
var typeID uint
|
||||
|
@ -80,6 +81,8 @@ func (he *Helper_ExpenseBulk) CreateExpenseFromChild(c Expense) *Expense {
|
|||
}
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
||||
// Implements db.UserIdentifiable:1
|
||||
func (e Expense) GetID() uint {
|
||||
return e.ID
|
||||
|
|
Loading…
Reference in New Issue
Block a user