rtsu
This commit is contained in:
parent
708d9ef526
commit
a0ce1d61d7
2
app.js
2
app.js
@ -95,7 +95,7 @@ app.get("/api/building/:id", async (req, res) => {
|
||||
}
|
||||
|
||||
const [nextLevel] = await db.query(
|
||||
"SELECT required_points, wood, stone FROM building_levels WHERE building_id=? AND level=?",
|
||||
"SELECT required_points, wood, stone, gold FROM building_levels WHERE building_id=? AND level=?",
|
||||
[buildingId, building.level + 1],
|
||||
);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user