feat: gilded weapons #410
@ -35,7 +35,7 @@ export const gildWeaponController: RequestHandler = async (req, res) => {
|
||||
|
|
||||
data.Category = req.query.Category as WeaponTypeInternal | "Hoverboards";
|
||||
|
||||
const inventory = await getInventory(accountId);
|
||||
if(!inventory[data.Category]) {
|
||||
|
caterogy caterogy
foudn foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing
In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
He's talking about the typo for "category". you wrote "caterogy" He's talking about the typo for "category". you wrote "caterogy"
oh thanks, I should probably get some sleep oh thanks, I should probably get some sleep
all good lmao, sleep well. all good lmao, sleep well.
|
||||
if (!inventory[data.Category]) {
|
||||
|
caterogy caterogy
foudn foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing
In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
He's talking about the typo for "category". you wrote "caterogy" He's talking about the typo for "category". you wrote "caterogy"
oh thanks, I should probably get some sleep oh thanks, I should probably get some sleep
all good lmao, sleep well. all good lmao, sleep well.
|
||||
throw new Error(`Category ${req.query.Category} not found in inventory`);
|
||||
}
|
||||
const weaponIndex = inventory[data.Category].findIndex(x => String(x._id) === data.ItemId);
|
||||
|
||||
|
caterogy caterogy
caterogy caterogy
foudn foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing
foudn foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing
In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
He's talking about the typo for "category". you wrote "caterogy" He's talking about the typo for "category". you wrote "caterogy"
He's talking about the typo for "category". you wrote "caterogy" He's talking about the typo for "category". you wrote "caterogy"
oh thanks, I should probably get some sleep oh thanks, I should probably get some sleep
oh thanks, I should probably get some sleep oh thanks, I should probably get some sleep
all good lmao, sleep well. all good lmao, sleep well.
all good lmao, sleep well. all good lmao, sleep well.
|
||||
caterogy
caterogy
foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing
foudn
"not" instead of "don't"
please be a bit more careful with your spelling, otherwise it gives the impression of rushing
In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
In the query the game sends - everything is capitalized, it would be wierd if one varible starts with a small letter
He's talking about the typo for "category". you wrote "caterogy"
He's talking about the typo for "category". you wrote "caterogy"
oh thanks, I should probably get some sleep
oh thanks, I should probably get some sleep
all good lmao, sleep well.
all good lmao, sleep well.