mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-01-18 16:37:40 +01:00
cases price fix
This commit is contained in:
@@ -123,13 +123,13 @@ export function apiRoutes(client, io) {
|
||||
let caseTypeVal;
|
||||
switch (caseType) {
|
||||
case "standard":
|
||||
caseTypeVal = 1000;
|
||||
caseTypeVal = 500;
|
||||
break;
|
||||
case "premium":
|
||||
caseTypeVal = 2000;
|
||||
caseTypeVal = 750;
|
||||
break;
|
||||
case "ultra":
|
||||
caseTypeVal = 4000;
|
||||
caseTypeVal = 1500;
|
||||
break;
|
||||
default:
|
||||
return res.status(400).json({ error: "Invalid case type." });
|
||||
|
||||
Reference in New Issue
Block a user