This commit is contained in:
@@ -27,13 +27,13 @@ namespace AyaNova.Api.ControllerHelpers
|
|||||||
|
|
||||||
public object items { get; }
|
public object items { get; }
|
||||||
public object PageLinks { get; }
|
public object PageLinks { get; }
|
||||||
public object Columns { get; }
|
public string Columns { get; }
|
||||||
|
|
||||||
public ApiPagedResponse(object returnItems, object pageLinks, object columns = null)
|
public ApiPagedResponse(object returnItems, object pageLinks, string columns)
|
||||||
{
|
{
|
||||||
items = returnItems;
|
items = returnItems;
|
||||||
PageLinks = pageLinks;
|
PageLinks = pageLinks;
|
||||||
Columns = Columns;
|
Columns = columns;
|
||||||
|
|
||||||
}
|
}
|
||||||
}//eoc
|
}//eoc
|
||||||
|
|||||||
@@ -411,6 +411,7 @@ namespace AyaNova
|
|||||||
var TESTING_REFRESH_DB = false;//#######################################################################################
|
var TESTING_REFRESH_DB = false;//#######################################################################################
|
||||||
|
|
||||||
#if (DEBUG)
|
#if (DEBUG)
|
||||||
|
|
||||||
//TESTING
|
//TESTING
|
||||||
if (TESTING_REFRESH_DB)
|
if (TESTING_REFRESH_DB)
|
||||||
ServerBootConfig.AYANOVA_PERMANENTLY_ERASE_DATABASE = TESTING_REFRESH_DB;
|
ServerBootConfig.AYANOVA_PERMANENTLY_ERASE_DATABASE = TESTING_REFRESH_DB;
|
||||||
@@ -487,6 +488,12 @@ namespace AyaNova
|
|||||||
//final startup log
|
//final startup log
|
||||||
_newLog.LogInformation("BOOT: COMPLETED - SERVER IS NOW OPEN");
|
_newLog.LogInformation("BOOT: COMPLETED - SERVER IS NOW OPEN");
|
||||||
|
|
||||||
|
#if (DEBUG)
|
||||||
|
//Show in dev console that server is open (so I don't need to look in the log to see it)
|
||||||
|
System.Diagnostics.Debugger.Log(1, "BOOT", "Startup.cs -> BOOT: COMPLETED - SERVER IS NOW OPEN");
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user