Skip to content

Commit

Permalink
fix(nats): method becomes static
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Dec 2, 2022
1 parent e79578d commit 9c45146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sitko.Core.Queue.Nats/NatsQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class NatsQueue : BaseQueue<NatsQueueModuleOptions>

private readonly MethodInfo deserializeBinaryMethod =
typeof(NatsQueue).GetMethod(nameof(DeserializeBinaryPayload),
BindingFlags.NonPublic | BindingFlags.Instance)!;
BindingFlags.NonPublic | BindingFlags.Static)!;

private readonly ConcurrentDictionary<Guid, IAsyncSubscription> natsSubscriptions = new();

Expand Down

0 comments on commit 9c45146

Please sign in to comment.