mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-11 02:35:00 +00:00
feat: updates for web debugging
This commit is contained in:
@@ -4,7 +4,7 @@ using PepperDash.Essentials.Core.Config;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Web
|
||||
{
|
||||
public class EssentialsWebApiFactory : EssentialsDeviceFactory<EssemtialsWebApi>
|
||||
public class EssentialsWebApiFactory : EssentialsDeviceFactory<EssentialsWebApi>
|
||||
{
|
||||
public EssentialsWebApiFactory()
|
||||
{
|
||||
@@ -16,7 +16,7 @@ namespace PepperDash.Essentials.Core.Web
|
||||
Debug.Console(1, "Factory Attempting to create new Essentials Web API Server");
|
||||
|
||||
var props = dc.Properties.ToObject<EssentialsWebApiPropertiesConfig>();
|
||||
if (props != null) return new EssemtialsWebApi(dc.Key, dc.Name, props);
|
||||
if (props != null) return new EssentialsWebApi(dc.Key, dc.Name, props);
|
||||
|
||||
Debug.Console(1, "Factory failed to create new Essentials Web API Server");
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user