File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ func main() {
2626 serverAddr := flag .String ("serverAddr" , "" , "HTTP server network address" )
2727 serverPort := flag .Int ("serverPort" , 4000 , "HTTP server network port" )
2828 mongoURI := flag .String ("mongoURI" , "mongodb://localhost:27017" , "Database hostname url" )
29- mongoDatabse := flag .String ("mongoDatabse " , "bookings" , "Database name" )
29+ mongoDatabase := flag .String ("mongoDatabase " , "bookings" , "Database name" )
3030 enableCredentials := flag .Bool ("enableCredentials" , false , "Enable the use of credentials for mongo connection" )
3131 flag .Parse ()
3232
@@ -69,7 +69,7 @@ func main() {
6969 infoLog : infoLog ,
7070 errorLog : errLog ,
7171 bookings : & mongodb.BookingModel {
72- C : client .Database (* mongoDatabse ).Collection ("bookings" ),
72+ C : client .Database (* mongoDatabase ).Collection ("bookings" ),
7373 },
7474 }
7575
You can’t perform that action at this time.
0 commit comments