forked from jmug/stoatchat
fix: remove local testing values from config
This commit is contained in:
@@ -43,7 +43,7 @@ impl DatabaseInfo {
|
||||
#[async_recursion]
|
||||
pub async fn connect(self) -> Result<Database, String> {
|
||||
let config = config().await;
|
||||
println!("{config:?}");
|
||||
|
||||
Ok(match self {
|
||||
DatabaseInfo::Auto => {
|
||||
if std::env::var("TEST_DB").is_ok() {
|
||||
|
||||
Reference in New Issue
Block a user