From 5050a405c10f7a9651782c4dbab3730adcecc242 Mon Sep 17 00:00:00 2001 From: Sketch <75850871+SketchMaster2001@users.noreply.github.com> Date: Wed, 17 Apr 2024 19:04:42 -0400 Subject: [PATCH] Remove n --- basket.go | 2 +- shop.go | 34 +--------------------------------- 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/basket.go b/basket.go index ed6178a..1a97d56 100644 --- a/basket.go +++ b/basket.go @@ -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.", diff --git a/shop.go b/shop.go index 7bb2ff6..7213c46 100644 --- a/shop.go +++ b/shop.go @@ -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"},