Merge pull request #344 from PepperDash/bugfix/essentials-huddleVtc1-routing

fix RunRouteAction methods in Huddle VTC Room
This commit is contained in:
Andrew Welker
2020-07-30 09:22:04 -07:00
committed by GitHub

View File

@@ -405,12 +405,7 @@ namespace PepperDash.Essentials
/// <param name="successCallback"></param> /// <param name="successCallback"></param>
public void RunRouteAction(string routeKey, string sourceListKey) public void RunRouteAction(string routeKey, string sourceListKey)
{ {
if (string.IsNullOrEmpty(sourceListKey)) RunRouteAction(routeKey, new Action(() => { }));
{
RunRouteAction(routeKey, new Action(() => { }));
}
else
throw new NotImplementedException();
} }
/// <summary> /// <summary>
@@ -421,12 +416,8 @@ namespace PepperDash.Essentials
/// <param name="successCallback"></param> /// <param name="successCallback"></param>
public void RunRouteAction(string routeKey, string sourceListKey, Action successCallback) public void RunRouteAction(string routeKey, string sourceListKey, Action successCallback)
{ {
if (string.IsNullOrEmpty(sourceListKey))
{
RunRouteAction(routeKey, successCallback); RunRouteAction(routeKey, successCallback);
}
else
throw new NotImplementedException();
} }
/// <summary> /// <summary>