Skip to content

Commit

Permalink
style: Format code with dotnet-format
Browse files Browse the repository at this point in the history
Format code with dotnet-format

This commit fixes the style issues introduced in 06fca54 according to the output
from dotnet-format.

Details: https://deepsource.io/gh/ademclk/ceyehat-api/transform/6e5160b1-780b-4f2e-9dce-5f00fcb044a9/
  • Loading branch information
deepsource-autofix[bot] authored Mar 20, 2023
1 parent 06fca54 commit 8e58811
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,18 @@ private void ConfigureFlightsTable(EntityTypeBuilder<Flight> builder)
.HasConversion(
f => f.Value,
value => PriceId.Create(value));

builder.Property(f => f.ComfortPriceId)
.ValueGeneratedNever()
.HasConversion(
f => f.Value,
value => PriceId.Create(value));

builder.Property(f => f.BusinessPriceId)
.ValueGeneratedNever()
.HasConversion(
f => f.Value,
value => PriceId.Create(value));

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ join comPrice in _dbContext.Prices on flight.ComfortPriceId equals comPrice.Id
join busPrice in _dbContext.Prices on flight.BusinessPriceId equals busPrice.Id
join dAirport in _dbContext.Airports on flight.DepartureAirportId equals dAirport.Id
join aAirport in _dbContext.Airports on flight.ArrivalAirportId equals aAirport.Id

where dAirport.IataCode == departureAirportIataCode
&& aAirport.IataCode == arrivalAirportIataCode
&& flight.ScheduledDeparture.Year == departureDate.Value.Year
Expand Down

0 comments on commit 8e58811

Please sign in to comment.