Update invoice description
This commit is contained in:
parent
bc10fe025b
commit
50724161c2
@ -126,7 +126,7 @@ func HandleOrder(sc context.ServerContext) echo.HandlerFunc {
|
|||||||
if err = sc.Db.FetchShare(o.ShareId, &s); err != nil {
|
if err = sc.Db.FetchShare(o.ShareId, &s); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
description = fmt.Sprintf("%s %d %s shares @ %d [market:%d]", strings.ToUpper(o.Side), o.Quantity, s.Description, o.Price, s.MarketId)
|
description = fmt.Sprintf("%s %d %s shares @ %d sats [market:%d]", strings.ToUpper(o.Side), o.Quantity, s.Description, o.Price, s.MarketId)
|
||||||
|
|
||||||
// TODO: if SELL order, check share balance of user
|
// TODO: if SELL order, check share balance of user
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user