mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
use write method
This commit is contained in:
parent
1457954ee3
commit
c279576ee2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue