We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents abe1bdd + 26423d0 commit cf80150Copy full SHA for cf80150
1 file changed
TrafficEscape2.0/Repositories/RouteSlotRepository.cs
@@ -62,7 +62,7 @@ private string GenerateUid(string fromPlaceId, string toPlaceId, int dayOfWeek,
62
public async Task UpsertSlotData(RouteSlots routeSlots)
63
{
64
var container = GetContainer();
65
- await container.UpsertItemAsync(routeSlots).ConfigureAwait(false);
+ await container.UpsertItemAsync(routeSlots, new PartitionKey(routeSlots.dayOfWeek)).ConfigureAwait(false);
66
}
67
68
private Container GetContainer()
0 commit comments