Skip to content

Commit

Permalink
Remove n
Browse files Browse the repository at this point in the history
  • Loading branch information
noahpistilli committed Apr 17, 2024
1 parent 8ed1589 commit 5050a40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
2 changes: 1 addition & 1 deletion basket.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ func orderDone(r *Response) {

// If the error does fail we should alert the user and allow for the basket to be cleared.
didError := false
// err = dom.PlaceOrder(user)
err = dom.PlaceOrder(user)
if err != nil {
PostDiscordWebhook(
"Performing error failed.",
Expand Down
34 changes: 1 addition & 33 deletions shop.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,39 +117,7 @@ func shopOne(r *Response) {
},
KVFieldWChildren{
XMLName: xml.Name{Local: "selList"},
Value: []any{
KVFieldWChildren{
XMLName: xml.Name{Local: "values"},
Value: []any{
KVFieldWChildren{
XMLName: xml.Name{Local: "one"},
Value: []any{
KVField{
XMLName: xml.Name{Local: "id"},
Value: "1",
},
KVField{
XMLName: xml.Name{Local: "name"},
Value: "n",
},
},
},
KVFieldWChildren{
XMLName: xml.Name{Local: "two"},
Value: []any{
KVField{
XMLName: xml.Name{Local: "id"},
Value: "2",
},
KVField{
XMLName: xml.Name{Local: "name"},
Value: "n",
},
},
},
},
},
},
Value: []any{},
},
KVFieldWChildren{
XMLName: xml.Name{Local: "status"},
Expand Down

0 comments on commit 5050a40

Please sign in to comment.