Browse Source

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 year ago
parent
commit
ff9689c6aa
1 changed files with 1 additions and 1 deletions
  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 =>
         public IEnumerable<KeyValuePair<Type, IEnumerable<IPostableFragment<TPostable>>>> Fragments =>
             fragments.Select(x => new KeyValuePair<Type, IEnumerable<IPostableFragment<TPostable>>>(x.Key, x.Value));
             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();
             post.Post();
             items.Add(new Tuple<TPostable, TExport?>(post, export));
             items.Add(new Tuple<TPostable, TExport?>(post, export));