From 821c632c0c7595f2a8950c6517b9908d90a66ff2 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 19 Dec 2020 01:05:56 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index a6c05ef..437ec01 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -2247,7 +2247,7 @@ namespace AyaNova.PlugIn.V8 string sStopDate = util.DateToV8(c.StopDate); if (sStartDate == string.Empty || sStopDate == string.Empty) { - progress.Append("FollowUp start or stop date missing; skipping export: ID " + c.ID.ToString() + ",targetid " + c.FollowID.ToString() + ",type " + c.FollowType.ToString()); + progress.Append("ScheduleMarker start or stop date missing; skipping export: ID " + c.ID.ToString()); continue;//skip this schedulemarker entirely it's disqualified } @@ -2271,19 +2271,15 @@ namespace AyaNova.PlugIn.V8 d.userId = Map[gUserId]; d.startDate = sStartDate; d.stopDate = sStopDate; + d.color = System.Drawing.ColorTranslator.ToHtml(System.Drawing.Color.FromArgb(c.ARGB)); SetTags(d, tags); progress.Op("ScheduleMarker " + c.ID.ToString()); - var rMainObject = await util.PostAsync("review", d.ToString()); + var rMainObject = await util.PostAsync("reminder", d.ToString()); long RavenId = util.IdFromResponse(rMainObject); AddMap(c.ID, RavenId); await util.EventLog(util.AyaType.Review, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified); } } - - - - - } } #endregion ScheduleMarkers