diff --git a/src/SwiftLink.Application/Common/ShortCodeGenerator.cs b/src/SwiftLink.Application/Common/HashBasedShortCodeGenerator.cs similarity index 94% rename from src/SwiftLink.Application/Common/ShortCodeGenerator.cs rename to src/SwiftLink.Application/Common/HashBasedShortCodeGenerator.cs index a10f06f..cba11cc 100644 --- a/src/SwiftLink.Application/Common/ShortCodeGenerator.cs +++ b/src/SwiftLink.Application/Common/HashBasedShortCodeGenerator.cs @@ -4,7 +4,7 @@ namespace SwiftLink.Application.Common; -public class TimeBasedShortCodeGenerator : IShortCodeGenerator +public class HashBasedShortCodeGenerator : IShortCodeGenerator { private static readonly object _lockObject = new(); private static readonly Random _random = new(); diff --git a/src/SwiftLink.Application/ConfigServices.cs b/src/SwiftLink.Application/ConfigServices.cs index b386a84..760ee37 100644 --- a/src/SwiftLink.Application/ConfigServices.cs +++ b/src/SwiftLink.Application/ConfigServices.cs @@ -19,7 +19,7 @@ public static IServiceCollection RegisterApplicationServices(this IServiceCollec config.AddBehavior(typeof(IPipelineBehavior<,>), typeof(ValidationBehavior<,>)); }); - services.AddScoped(); + services.AddScoped(); return services; } } \ No newline at end of file