diff options
| author | Pitu <[email protected]> | 2017-01-20 03:28:26 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-20 03:28:26 -0300 |
| commit | bae03cdc25e0d52c4e2ca628d21eed0ca63a5c60 (patch) | |
| tree | b69f45ccdfa6f100df00a0060528dfd31255f0fe /database/db.js | |
| parent | Album delete WIP (diff) | |
| download | host.fuwn.me-bae03cdc25e0d52c4e2ca628d21eed0ca63a5c60.tar.xz host.fuwn.me-bae03cdc25e0d52c4e2ca628d21eed0ca63a5c60.zip | |
File delete, album delete and album rename. Sugoooi!
Diffstat (limited to 'database/db.js')
| -rw-r--r-- | database/db.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/database/db.js b/database/db.js index 4af2f21..551c8a5 100644 --- a/database/db.js +++ b/database/db.js @@ -51,9 +51,8 @@ let init = function(db, config){ ] ).then(() => { printAndSave(config, clientToken, adminToken) - }) - - }) + }).catch(function(error) { console.log(error) }) + }).catch(function(error) { console.log(error) }) }) |