Skip to content

Commit

Permalink
fix miss click, duplicate in app/main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Anvill1 committed Jan 9, 2025
1 parent 8ca4436 commit 002065a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internals/app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ func (server *Server) Serve() {
log.Fatalln(err)
}

if err != nil {
log.Fatalln(err)
}

go func(dbStorage *db.DBStorage) { // Вызывает фукнцию проверки и инициализации БД
if !dbStorage.CheckDB(server.config.Database.DefaultTable) {
if err != nil {
Expand Down

0 comments on commit 002065a

Please sign in to comment.