fix(Network): correct serialized types for delete request

This commit is contained in:
karashiiro 2021-07-25 00:18:35 -07:00
parent 89314e0c0e
commit 6768a3c0fc
2 changed files with 4 additions and 4 deletions

View file

@ -11,13 +11,13 @@ namespace Dalamud.Game.Network.MarketBoardUploaders.Universalis
/// Gets or sets the object ID of the retainer associated with the sale.
/// </summary>
[JsonProperty("retainerID")]
public ulong RetainerId { get; set; }
public string RetainerId { get; set; }
/// <summary>
/// Gets or sets the object ID of the item listing.
/// </summary>
[JsonProperty("listingID")]
public ulong ListingId { get; set; }
public string ListingId { get; set; }
/// <summary>
/// Gets or sets the item ID of the item that was purchased.

View file

@ -152,8 +152,8 @@ namespace Dalamud.Game.Network.Universalis.MarketBoardUploaders
ItemId = itemId,
PricePerUnit = purchaseHandler.PricePerUnit,
Quantity = purchaseHandler.ItemQuantity,
ListingId = purchaseHandler.ListingId,
RetainerId = purchaseHandler.RetainerId,
ListingId = purchaseHandler.ListingId.ToString(),
RetainerId = purchaseHandler.RetainerId.ToString(),
UploaderId = this.dalamud.ClientState.LocalContentId.ToString(),
};