From ab0fb093ee0769ff67b3b71efdfcccd34bd8683a Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Apr 2021 19:42:06 +0800 Subject: chore: Clean codes. --- BackEnd/Timeline/Services/User/PasswordService.cs | 2 +- .../Timeline/Services/User/UserServicesServiceCollectionExtensions.cs | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'BackEnd/Timeline/Services/User') diff --git a/BackEnd/Timeline/Services/User/PasswordService.cs b/BackEnd/Timeline/Services/User/PasswordService.cs index 5c2062dd..fc097492 100644 --- a/BackEnd/Timeline/Services/User/PasswordService.cs +++ b/BackEnd/Timeline/Services/User/PasswordService.cs @@ -18,7 +18,7 @@ namespace Timeline.Services.User public HashedPasswordBadFromatException(string message) : base(message) { } public HashedPasswordBadFromatException(string message, Exception inner) : base(message, inner) { } - public HashedPasswordBadFromatException(string hashedPassword, string reason, Exception? inner = null) + public HashedPasswordBadFromatException(string hashedPassword, string reason, Exception? inner = null) : base(string.Format(CultureInfo.CurrentCulture, Resource.ExceptionHashedPasswordBadFormat, reason), inner) { HashedPassword = hashedPassword; } protected HashedPasswordBadFromatException( System.Runtime.Serialization.SerializationInfo info, diff --git a/BackEnd/Timeline/Services/User/UserServicesServiceCollectionExtensions.cs b/BackEnd/Timeline/Services/User/UserServicesServiceCollectionExtensions.cs index 6320b608..a5a743df 100644 --- a/BackEnd/Timeline/Services/User/UserServicesServiceCollectionExtensions.cs +++ b/BackEnd/Timeline/Services/User/UserServicesServiceCollectionExtensions.cs @@ -1,9 +1,5 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Timeline.Services.User.Avatar; namespace Timeline.Services.User -- cgit v1.2.3