Skip to content

Commit 585b3d6

Browse files
committed
Modificado el código de lemoncode-challenge
1 parent ba56ab2 commit 585b3d6

81 files changed

Lines changed: 25523 additions & 17831 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Binary file not shown.

01-contenedores/lemoncode-challenge/backend/.vs/backend/config/applicationhost.config

Lines changed: 0 additions & 984 deletions
This file was deleted.
Binary file not shown.

01-contenedores/lemoncode-challenge/backend/backend/Controllers/TopicsController.cs renamed to 01-contenedores/lemoncode-challenge/backend/Controllers/TopicsController.cs

File renamed without changes.

01-contenedores/lemoncode-challenge/backend/backend/Models/Topic.cs renamed to 01-contenedores/lemoncode-challenge/backend/Models/Topic.cs

File renamed without changes.

01-contenedores/lemoncode-challenge/backend/backend/Models/TopicstoreDatabaseSettings.cs renamed to 01-contenedores/lemoncode-challenge/backend/Models/TopicstoreDatabaseSettings.cs

File renamed without changes.

01-contenedores/lemoncode-challenge/backend/backend/Program.cs renamed to 01-contenedores/lemoncode-challenge/backend/Program.cs

File renamed without changes.

01-contenedores/lemoncode-challenge/backend/backend/Properties/launchSettings.json renamed to 01-contenedores/lemoncode-challenge/backend/Properties/launchSettings.json

File renamed without changes.

01-contenedores/lemoncode-challenge/backend/backend/Service/TopicService.cs renamed to 01-contenedores/lemoncode-challenge/backend/Service/TopicService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class TopicService
1111

1212
public TopicService(ITopicstoreDatabaseSettings settings)
1313
{
14-
var client = new MongoClient(Environment.GetEnvironmentVariable("MONGO_URI"));
14+
var client = new MongoClient(settings.ConnectionString);
1515
var database = client.GetDatabase(settings.DatabaseName);
1616

1717
_topics = database.GetCollection<Topic>(settings.TopicsCollectionName);

01-contenedores/lemoncode-challenge/backend/backend/Startup.cs renamed to 01-contenedores/lemoncode-challenge/backend/Startup.cs

File renamed without changes.

0 commit comments

Comments
 (0)