Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cammj committed May 19, 2024
1 parent 8fc713e commit f6eff45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ private static async Task GetTenantSimulationUsers(GraphServiceClient GraphClien
string id = $"{SimulationId}-{userSimDetail.SimulationUser?.UserId}";

// Add the table item
tableActionQueue_SimulationUsers.Enqueue(new TableTransactionAction(TableTransactionActionType.UpdateReplace, new TableEntity("SimulationUsers", SimulationId)
tableActionQueue_SimulationUsers.Enqueue(new TableTransactionAction(TableTransactionActionType.UpdateReplace, new TableEntity(SimulationId, userSimDetail.SimulationUser?.UserId)
{
{"SimulationUser_Id", id},
{"SimulationId", SimulationId},
Expand All @@ -380,9 +380,9 @@ private static async Task GetTenantSimulationUsers(GraphServiceClient GraphClien
{
foreach (var simulationUserEvents in userSimDetail.SimulationEvents)
{
tableActionQueue_SimulationUserEvents.Enqueue(new TableTransactionAction(TableTransactionActionType.UpdateReplace, new TableEntity("SimulationUserEvents", $"{id}_{simulationUserEvents.EventName}_{simulationUserEvents.EventDateTime.Value.ToUnixTimeSeconds()}")
tableActionQueue_SimulationUserEvents.Enqueue(new TableTransactionAction(TableTransactionActionType.UpdateReplace, new TableEntity(SimulationId, $"{userSimDetail.SimulationUser?.UserId}_{simulationUserEvents.EventName}_{simulationUserEvents.EventDateTime.Value.ToUnixTimeSeconds()}")
{
{"SimulationUser_Id", $"{SimulationId}-{userSimDetail.SimulationUser?.UserId}"},
{"SimulationUser_Id", id},
{"SimulationUser_UserId", userSimDetail.SimulationUser?.UserId},
{"SimulationUserEvent_EventName", simulationUserEvents.EventName},
{"SimulationUserEvent_EventDateTime", simulationUserEvents.EventDateTime},
Expand Down

0 comments on commit f6eff45

Please sign in to comment.