Skip to content

Commit

Permalink
corrected dbcontext name
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Oct 15, 2023
1 parent c3cb9d7 commit 01948fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/container_apps/Jordnaer.Chat/SendMessageConsumer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Jordnaer.Server.Database;
using Jordnaer.Shared;
using MassTransit;
using Microsoft.EntityFrameworkCore;
Expand All @@ -7,9 +6,9 @@ namespace Jordnaer.Chat;

public class SendMessageConsumer : IConsumer<SendMessage>
{
private readonly JordnaerDbContext _context;
private readonly ChatDbContext _context;

public SendMessageConsumer(JordnaerDbContext context)
public SendMessageConsumer(ChatDbContext context)
{
_context = context;
}
Expand Down
5 changes: 2 additions & 3 deletions src/container_apps/Jordnaer.Chat/StartChatConsumer.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
using Jordnaer.Server.Database;
using Jordnaer.Shared;
using MassTransit;

namespace Jordnaer.Chat;

public class StartChatConsumer : IConsumer<StartChat>
{
private readonly JordnaerDbContext _context;
private readonly ChatDbContext _context;

public StartChatConsumer(JordnaerDbContext context)
public StartChatConsumer(ChatDbContext context)
{
_context = context;
}
Expand Down

0 comments on commit 01948fe

Please sign in to comment.