feat: merge UPDATE_SWITCH_MEMBERS event into UPDATE_SWITCH event

This commit is contained in:
spiral
2021-11-28 17:35:56 -05:00
parent 6d1c7feae0
commit b9252ec615
3 changed files with 1 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ public partial class ModelRepository
_ = _dispatch.Dispatch(switchId, new UpdateDispatchData
{
Event = DispatchEvent.UPDATE_SWITCH_MEMBERS,
Event = DispatchEvent.UPDATE_SWITCH,
EventData = JObject.FromObject(new
{
members = await GetMemberGuids(members),