Skip to content

Commit

Permalink
Reverted relative path for env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Shailu-s committed Nov 14, 2024
1 parent 21ad288 commit 2699eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sequencer/database/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func InitSQLDB(port int, host, user, password, name string) (*sqlx.DB, error) {

// InitTestSQLDB opens test PostgreSQL database
func InitTestSQLDB() (*sqlx.DB, error) {
err := godotenv.Load("../../.env")
err := godotenv.Load("../.env")
if err != nil {
log.Info("Error loading .env file")
}
Expand Down

0 comments on commit 2699eb4

Please sign in to comment.