Fix insert bug
This commit is contained in:
parent
14e5a81ca6
commit
ef6aa4fde5
|
@ -23,7 +23,7 @@ func InsertCardPrinting(db *sql.DB, cardPrinting CardPrinting) error {
|
||||||
IsPromo,
|
IsPromo,
|
||||||
CollectorNumber,
|
CollectorNumber,
|
||||||
Language)
|
Language)
|
||||||
VALUES (?, ?, ?, ?, ?, ?);`
|
VALUES (?, ?, ?, ?, ?, ?, ?);`
|
||||||
|
|
||||||
insert, err := db.Prepare(query)
|
insert, err := db.Prepare(query)
|
||||||
defer insert.Close()
|
defer insert.Close()
|
||||||
|
|
Loading…
Reference in New Issue