Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oh2fih committed Jun 29, 2024
1 parent 9a97b66 commit 2a7e6c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CveXplore/database/connection/database_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ def __init__(self, database_type: str, database_init_parameters: dict):
self.database_type = database_type
self.database_init_parameters = database_init_parameters

self._database_connnections = {
self._database_connections = {
"mongodb": MongoDBConnection,
"api": ApiDatabaseSource,
"mysql": SQLBaseConnection,
"dummy": DummyConnection,
}

self._database_connection = self._database_connnections[self.database_type](
self._database_connection = self._database_connections[self.database_type](
**self.database_init_parameters
)

Expand Down

0 comments on commit 2a7e6c5

Please sign in to comment.