Add missing cardTransform function call
This commit is contained in:
parent
85f8972d5e
commit
ba94ad6084
|
@ -108,15 +108,7 @@ func CardPutId(c *gin.Context) {
|
|||
dst.CreditLine = src.CreditLine
|
||||
dst.HaveCreditLine = src.HaveCreditLine
|
||||
},
|
||||
func(inp *db.Card) types.DbCard {
|
||||
return types.DbCard{
|
||||
ID: inp.ID,
|
||||
Name: inp.Name,
|
||||
Balance: inp.Balance,
|
||||
HaveCreditLine: inp.HaveCreditLine,
|
||||
CreditLine: inp.CreditLine,
|
||||
}
|
||||
})(c)
|
||||
cardTransform)(c)
|
||||
}
|
||||
|
||||
// @Summary Delete card by id
|
||||
|
|
Loading…
Reference in New Issue
Block a user