Fixed routes and bugs

This commit is contained in:
2026-03-27 23:06:17 +01:00
parent 8e678435f4
commit 744ce1ae96
18 changed files with 72 additions and 101 deletions
@@ -32,9 +32,7 @@ namespace Musify.Infrastructure.MassTransit.Activities
executeContext.CancellationToken);
var destinationPath = executeContext.GetVariable<string>(executeContext.Arguments.DestinationFilePathVariableName);
if (string.IsNullOrWhiteSpace(destinationPath))
throw new InvalidOperationException(
$"Download activity requires variable '{executeContext.Arguments.DestinationFilePathVariableName}' with destination file path.");
ArgumentNullException.ThrowIfNull(destinationPath, nameof(destinationPath));
try
{