Skip to content

Commit

Permalink
fix mistake in database parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisManiere committed Jan 23, 2024
1 parent 0a6ffac commit 0d73b7a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/fct_conn.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
#' db_connection <- db_con()
db_con <- function(){
con <- DBI::dbConnect(RPostgres::Postgres(),
host = Sys.getenv("DBMAPDO_DEV_HOST"),
port = Sys.getenv("DBMAPDO_DEV_PORT"),
dbname = Sys.getenv("DBMAPDO_DEV_NAME"),
user = Sys.getenv("DBMAPDO_DEV_USER"),
password = Sys.getenv("DBMAPDO_DEV_PASS"))
host = Sys.getenv("DBMAPDO_HOST"),
port = Sys.getenv("DBMAPDO_PORT"),
dbname = Sys.getenv("DBMAPDO_NAME"),
user = Sys.getenv("DBMAPDO_USER"),
password = Sys.getenv("DBMAPDO_PASS"))
return(con)
}

0 comments on commit 0d73b7a

Please sign in to comment.