diff --git a/src/CleanAspire.Api/CleanAspire.Api.csproj b/src/CleanAspire.Api/CleanAspire.Api.csproj index 0a8dbfd..6bac079 100644 --- a/src/CleanAspire.Api/CleanAspire.Api.csproj +++ b/src/CleanAspire.Api/CleanAspire.Api.csproj @@ -27,8 +27,5 @@ - - - diff --git a/src/CleanAspire.Api/CleanAspire.Api.json b/src/CleanAspire.Api/CleanAspire.Api.json index a5401e7..39b073e 100644 --- a/src/CleanAspire.Api/CleanAspire.Api.json +++ b/src/CleanAspire.Api/CleanAspire.Api.json @@ -833,7 +833,7 @@ } }, "example": { - "email": "Bertha.Kuvalis@yahoo.com", + "email": "Elias69@hotmail.com", "password": "P@ssw0rd!" } }, @@ -920,7 +920,7 @@ } }, "example": { - "Email": "Marcos19@yahoo.com", + "Email": "Nathen_Konopelski60@hotmail.com", "Password": "P@ssw0rd!", "Nickname": "exampleNickname", "Provider": "Local", diff --git a/src/CleanAspire.Api/Program.cs b/src/CleanAspire.Api/Program.cs index d11285b..086bfc2 100644 --- a/src/CleanAspire.Api/Program.cs +++ b/src/CleanAspire.Api/Program.cs @@ -118,6 +118,8 @@ app.MapOpenApi(); app.MapScalarApiReference(); } +if (!Directory.Exists(Path.Combine(Directory.GetCurrentDirectory(), @"files"))) + Directory.CreateDirectory(Path.Combine(Directory.GetCurrentDirectory(), @"files")); app.UseStaticFiles(new StaticFileOptions { FileProvider = new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), @"files")),