Update dependency filesize to v10.1.1 #116
@ -5,7 +5,7 @@ use diesel::result::{DatabaseErrorKind, Error};
|
||||
use diesel::{Connection, PgConnection};
|
||||
use std::cell::RefCell;
|
||||
thread_local! {
|
||||
static POSTGRES_CONNECTION: RefCell<Option<PgConnection>> = RefCell::new(None);
|
||||
static POSTGRES_CONNECTION: RefCell<Option<PgConnection>> = const { RefCell::new(None) };
|
||||
}
|
||||
|
||||
/// Execute a request on the database
|
||||
|
Loading…
Reference in New Issue
Block a user