mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
use write method
This commit is contained in:
parent
1457954ee3
commit
c279576ee2
@ -25,7 +25,7 @@ impl Database {
|
||||
};
|
||||
|
||||
// Init profile components
|
||||
match connection.try_write() {
|
||||
match connection.write() {
|
||||
Ok(writable) => {
|
||||
if let Err(reason) = init(writable) {
|
||||
panic!("{reason}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user