Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
devanbenz committed Jan 24, 2024
1 parent 2725152 commit 81feda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/federation.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ func main() {
}

conn, err := db.Connect()
defer conn.Close()
if err != nil {
logger.Fatal("failed connecting to db", err)
}
db.RunMigrations(conn)
defer conn.Close()

s := http.NewServer(logger)
s.RunServer()
Expand Down

0 comments on commit 81feda2

Please sign in to comment.