diff --git a/.vscode/launch.json b/.vscode/launch.json index 6ca8fdd5..d26493e9 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -52,7 +52,7 @@ "AYANOVA_FOLDER_USER_FILES": "c:\\temp\\RavenTestData\\userfiles", "AYANOVA_FOLDER_BACKUP_FILES": "c:\\temp\\RavenTestData\\backupfiles", "AYANOVA_FOLDER_TEMPORARY_SERVER_FILES": "c:\\temp\\RavenTestData\\tempfiles", - "AYANOVA_SERVER_TEST_MODE": "true", + "AYANOVA_SERVER_TEST_MODE": "false", "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "medium", "AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-7", "AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_13\\bin\\" diff --git a/server/AyaNova/Controllers/ScheduleController.cs b/server/AyaNova/Controllers/ScheduleController.cs index 3ff76b4f..2967b600 100644 --- a/server/AyaNova/Controllers/ScheduleController.cs +++ b/server/AyaNova/Controllers/ScheduleController.cs @@ -392,7 +392,6 @@ namespace AyaNova.Api.Controllers //we shouldn't have allowed null dates in the first place in v7 but here we are :) public DateTime Start { get; set; } public DateTime End { get; set; } - public bool Timed { get { return true; } } public string Name { get; set; } public string Color { get; set; } public string TextColor { get; set; } @@ -408,8 +407,7 @@ namespace AyaNova.Api.Controllers //user can simply filter a data table by null dates to see them //we shouldn't have allowed null dates in the first place in v7 but here we are :) public DateTime Start { get; set; } - public DateTime End { get; set; } - public bool Timed { get { return true; } } + public DateTime End { get; set; } public string Name { get; set; } public string Color { get; set; } public string TextColor { get; set; }