Skip to content

Commit

Permalink
missing field
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo De Caro <[email protected]>
  • Loading branch information
adecaro committed Dec 26, 2024
1 parent 66ebc7c commit 855cb78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion token/services/db/sql/common/tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,8 @@ func (t *TokenTransaction) StoreToken(tr driver.TokenRecord, owners []string) er

// Store token
now := time.Now().UTC()
query, err := NewInsertInto(t.db.table.Tokens).Rows("tx_id, idx, issuer_raw, owner_raw, owner_type, owner_identity, owner_wallet_id, ledger, ledger_metadata, token_type, quantity, amount, stored_at, owner, auditor, issuer").Compile()
query, err := NewInsertInto(t.db.table.Tokens).Rows(
"tx_id, idx, issuer_raw, owner_raw, owner_type, owner_identity, owner_wallet_id, ledger, ledger_type, ledger_metadata, token_type, quantity, amount, stored_at, owner, auditor, issuer").Compile()
if err != nil {
return errors.Wrapf(err, "failed building insert")
}
Expand Down

0 comments on commit 855cb78

Please sign in to comment.