feat: update GetOrderByIdQuery to allow nullable UserId and adjust query handling in GetOrderByIdQueryHandler
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m43s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 8m43s
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ namespace CMSMicroservice.Application.DiscountShopCQ.Queries.GetOrderById;
|
||||
public class GetOrderByIdQuery : IRequest<OrderDetailDto?>
|
||||
{
|
||||
public long OrderId { get; set; }
|
||||
public long UserId { get; set; }
|
||||
public long? UserId { get; set; }
|
||||
}
|
||||
|
||||
public class OrderDetailDto
|
||||
|
||||
Reference in New Issue
Block a user