Skip to content

Commit

Permalink
Use StoredId instead of FlowId.Instance.ToStoredInstance in ControlPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
stidsborg committed Jan 1, 2025
1 parent 8ca224c commit b1eb02c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Cleipnir.ResilientFunctions/Domain/ControlPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,14 @@ public async Task<TReturn> Restart()
if (_innerParamChanged)
await SaveChanges();

return await _invoker.Restart(FlowId.Instance.ToStoredInstance(), Epoch);
return await _invoker.Restart(StoredId.Instance, Epoch);
}
public async Task ScheduleRestart()
{
if (_innerParamChanged)
await SaveChanges();

await _invoker.ScheduleRestart(FlowId.Instance.ToStoredInstance(), Epoch);
await _invoker.ScheduleRestart(StoredId.Instance, Epoch);
}

public async Task Refresh()
Expand Down

0 comments on commit b1eb02c

Please sign in to comment.