Skip to content

Commit 227f512

Browse files
authored
Merge pull request #507 from The-Purple-Warehouse/main
[staging deploy] swapped bolts and nuts
2 parents 71f9601 + b051ea6 commit 227f512

4 files changed

Lines changed: 95 additions & 110 deletions

File tree

helpers/shop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ export async function addShopItem(
137137
name: string,
138138
description: string,
139139
image: string,
140-
priceBolts: number,
141140
priceNuts: number,
141+
priceBolts: number,
142142
type: string
143143
): Promise<{ success: boolean; error?: string; item?: ShopItem }> {
144144
try {

package-lock.json

Lines changed: 91 additions & 106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

routers/api/scouting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,8 +745,8 @@ router.post("/shop/item/add", requireScoutingAuth, async (ctx, next) => {
745745
body.name,
746746
body.description,
747747
body.image,
748-
Number(body.priceBolts),
749748
Number(body.priceNuts),
749+
Number(body.priceBolts),
750750
body.type
751751
)
752752
).item

static/js/scoutingsdk.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3351,8 +3351,8 @@ ${_this.escape(teamNumber)} (Blue ${i + 1})
33513351
name,
33523352
description,
33533353
image,
3354-
priceBolts,
33553354
priceNuts,
3355+
priceBolts,
33563356
type,
33573357
adminToken
33583358
) => {
@@ -3368,8 +3368,8 @@ ${_this.escape(teamNumber)} (Blue ${i + 1})
33683368
name,
33693369
description,
33703370
image,
3371-
priceBolts,
33723371
priceNuts,
3372+
priceBolts,
33733373
type,
33743374
adminToken
33753375
})

0 commit comments

Comments
 (0)