Skip to content

Commit

Permalink
fix chwckstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Ochoa committed Dec 5, 2024
1 parent 5a51108 commit ea7f900
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ public class MongoDbSetup {
@Inject
MongoClient mongoClient;

/**
* Setup unique constraints on Mongo collections.
* @param event the startup event
*/
public void onStart(@Observes StartupEvent event) {
MongoDatabase database = mongoClient.getDatabase("composer");
MongoCollection<Document> llmConnectionCollection = database.getCollection("llm_connection");
Expand Down

0 comments on commit ea7f900

Please sign in to comment.