Update sale flow
This commit is contained in:
@@ -10,7 +10,10 @@ public record CreateSaleRequest(
|
||||
decimal TotalAmount,
|
||||
bool FulfillImmediately,
|
||||
Guid? RideId,
|
||||
List<SaleItemRequest> Items);
|
||||
List<SaleItemRequest> Items,
|
||||
// TEMPORARY: auth middleware doesn't attach a resolvable user yet (see testbug.md #28), so the
|
||||
// caller supplies the acting user explicitly. Remove once currentUser.UserId is reliable again.
|
||||
Guid? CreatedByUserId = null);
|
||||
|
||||
public record SaleItemResponse(Guid ItemId, int Quantity, int QuantityFulfilled, decimal UnitPrice);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user