Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit f1a9459

Browse files
committed
Fix missing foreach
1 parent 2dd6ff1 commit f1a9459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/db-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class DBManager {
44

55
let find_db = (dbn) => {
66
if (dbn in _dbs) return _dbs[dbn]
7-
_dbs.forEach(db => {
7+
Object.values(_dbs).forEach(db => {
88
if (dbn = db.id) {
99
return db
1010
} else if (dbn = [db.address.root, db.address.path].join('/')) {

0 commit comments

Comments
 (0)