Merging received bidding into the model.

This commit is contained in:
2026-02-19 13:10:55 +01:00
parent 440333b589
commit d381e1ab8c
3 changed files with 41 additions and 11 deletions

View File

@ -119,7 +119,7 @@ QList<bidding> JsonParser::extractBiddings(const QJsonDocument& jsonDoc) {
// REFACTOR implement & use "JsonParser::parseServerResponse(const QJsonObject& object,
// QHash<QString, int> entries)"
QJsonObject itemJsonObject = value.toObject();
bidding values{.userId = QUuid(itemJsonObject.value("user_id").toString()),
bidding values{.userId = itemJsonObject.value("user_id").toString(),
.biddingRound = itemJsonObject.value("bidding_round").toInt(),
.amount = itemJsonObject.value("amount").toInt(),
.depotWishOne = itemJsonObject.value("depot_wish_one").toString(),