Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nicol authored and nicol committed Dec 9, 2024
1 parent ec68ca1 commit 76a59b6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/org/magic/api/dao/impl/MongoDbDAO.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public void commandFailed(CommandFailedEvent event) {

}

public boolean createDB() {
public void createDB() {
var populateCollections=getBoolean(INIT_DEFAULT_COLS);
for(String s : collectionsNames)
{
Expand All @@ -248,9 +248,6 @@ public boolean createDB() {
} catch (SQLException e) {
logger.error(e);
}


return true;
}


Expand Down

0 comments on commit 76a59b6

Please sign in to comment.