Add option to suppress storage copy for testing
This commit is contained in:
@@ -24,6 +24,9 @@ namespace LeafWeb.Web.Services.PiscalQueue
|
||||
public void Run(LeafInput leafInput)
|
||||
{
|
||||
var inputFile = new PiscalLeafInput(leafInput);
|
||||
// TODO: remove this, just for testing
|
||||
if (string.Equals(leafInput.Email, "james.kolpack@gmail.com", StringComparison.InvariantCultureIgnoreCase))
|
||||
inputFile.SuppressStorageCopy = true;
|
||||
_piscalClient.RunLeafInput(inputFile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user