Преглед на файлове

Allowed for adding "null" exports for a timberline poster result; if we want to mark as posted while not actually posting anything.

Kenric Nugteren преди 1 година
родител
ревизия
ff9689c6aa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      InABox.Poster.Timberline/TimberlinePostResult.cs

+ 1 - 1
InABox.Poster.Timberline/TimberlinePostResult.cs

@@ -27,7 +27,7 @@ namespace InABox.Poster.Timberline
         public IEnumerable<KeyValuePair<Type, IEnumerable<IPostableFragment<TPostable>>>> Fragments =>
             fragments.Select(x => new KeyValuePair<Type, IEnumerable<IPostableFragment<TPostable>>>(x.Key, x.Value));
 
-        public void AddSuccess(TPostable post, TExport export)
+        public void AddSuccess(TPostable post, TExport? export)
         {
             post.Post();
             items.Add(new Tuple<TPostable, TExport?>(post, export));