Fixed routes and bugs

This commit is contained in:
2026-03-27 23:06:17 +01:00
parent 075ff3c7b6
commit 32b83e84a6
18 changed files with 72 additions and 101 deletions
@@ -32,8 +32,7 @@ namespace Musify.Infrastructure.MassTransit.Activities.Files
executeContext.CancellationToken);
var sourceFilePath = executeContext.GetVariable<string>(executeContext.Arguments.FilePathVariableName);
if (string.IsNullOrEmpty(sourceFilePath))
throw new InvalidOperationException($"Upload activity requires variable '{executeContext.Arguments.FilePathVariableName}' with source file path.");
ArgumentNullException.ThrowIfNull(sourceFilePath, nameof(sourceFilePath));
var fileName = Path.GetFileName(sourceFilePath);
try