Skip to content

Commit

Permalink
bump: release
Browse files Browse the repository at this point in the history
  • Loading branch information
oktant committed Feb 12, 2024
1 parent 5b18faa commit 75f34aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dao/database_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ func (database *GormDatabase) GetAllFlights() *[]models.Flight {

func (database *GormDatabase) CreateNewFlight(flight *models.Flight) *models.Flight {
flight.Id = uuid.New()

database.Gorm.Create(flight)

return flight
}

Expand Down

0 comments on commit 75f34aa

Please sign in to comment.