mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix that
This commit is contained in:
@@ -12,10 +12,10 @@ class Database {
|
||||
.then(() => console.log('[Database] Synchronizing...'))
|
||||
.then(() => database.sync()
|
||||
.then(() => console.log('[Database] Synchronizing complete!'))
|
||||
.catch (err => console.error(`[Database] Error synchronizing: ${err}`))
|
||||
.catch(err => console.error(`[Database] Error synchronizing: ${err}`))
|
||||
)
|
||||
.then(() => console.log('[Database] Ready!'))
|
||||
.catch (err => console.error(`[Database] Unable to connect: ${err}`));
|
||||
.catch(err => console.error(`[Database] Unable to connect: ${err}`));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user