Debug: à la recherche de l'Item qui ne se vend pas

This commit is contained in:
2023-04-18 22:59:15 +02:00
parent 40c45c30de
commit 5580b6d59c
2 changed files with 7 additions and 4 deletions

View File

@ -18,7 +18,7 @@ export class DialogItemAchat extends Dialog {
}
return {
item: (json ? JSON.parse(json) : undefined),
item: JSON.parse(json),
vendeur,
acheteur,
nbLots: parseInt(chatButton.attributes['data-quantiteNbLots']?.value),
@ -34,7 +34,6 @@ export class DialogItemAchat extends Dialog {
const venteData = {
item,
actingUserId: game.user.id,
vendeurId: vendeur?.id,
vendeur,
acheteur,
tailleLot,