diff --git a/SoarCraft.AwaiShop/Hub/Order/Get.cs b/SoarCraft.AwaiShop/Hub/Order/Get.cs index 76c85d2..3f8f007 100644 --- a/SoarCraft.AwaiShop/Hub/Order/Get.cs +++ b/SoarCraft.AwaiShop/Hub/Order/Get.cs @@ -32,8 +32,8 @@ await this.Db.Orders [Authorize] public async Task OrderGetItems(uint orderId) => await this.Db.OrderCombos - .Where(x => x.Order.UserId == this.UserId) .Where(x => x.OrderId == orderId) + .Where(x => x.Order.UserId == this.UserId) .Select(x => new { x.Quantity, Types = x.Combo.Types.Select(t => t.TypeId).ToArray() @@ -50,8 +50,8 @@ await this.Db.OrderCombos [Authorize] public Task OrderGetCmts(uint orderId) => this.Db.Comments - .Where(x => x.Order.UserId == this.UserId) .Where(x => x.OrderId == orderId) + .Where(x => x.Order.UserId == this.UserId) .Select(x => x.CommentId) .ToArrayAsync(); } diff --git a/SoarCraft.AwaiShop/SoarCraft.AwaiShop.csproj b/SoarCraft.AwaiShop/SoarCraft.AwaiShop.csproj index c94095a..1147eb4 100644 --- a/SoarCraft.AwaiShop/SoarCraft.AwaiShop.csproj +++ b/SoarCraft.AwaiShop/SoarCraft.AwaiShop.csproj @@ -38,10 +38,10 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + - +