Skip to content

Commit

Permalink
Fixes #29, let AddWatermarkingHandler cause image processing without …
Browse files Browse the repository at this point in the history
…other querystring keys
  • Loading branch information
lilith committed Nov 6, 2020
1 parent ba5b20e commit ba11fc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Imageflow.Server/ImageJobInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ public ImageJobInfo(HttpContext context, ImageflowMiddlewareOptions options, Blo
if (matches) handler.Handler(args);
}
appliedWatermarks = args.AppliedWatermarks;
if (appliedWatermarks.Count > 0)
{
HasParams = true;
}

// Add the watermark source files
foreach (var w in appliedWatermarks)
Expand Down

0 comments on commit ba11fc7

Please sign in to comment.