Skip to content

Commit 8d48897

Browse files
author
Lennart Koopmann
committed
database_name was using old config
1 parent 5ebad65 commit 8d48897

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
skipped_collections = ["system.users", "system.indexes", "system.profile"]
3333

3434
get '/' do
35-
@database_name = config[:database]
35+
@database_name = config["mongodb"]["database"]
3636
@collection_names = db.collection_names
3737
skipped_collections.each { |collection| @collection_names.delete(collection) }
3838

0 commit comments

Comments
 (0)