Skip to content

Commit

Permalink
Fix typo in InvalidOperationException (lowercase o)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmpetrov committed Feb 22, 2024
1 parent 284cdac commit 069780e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/guides/middlewares/middlewares.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public class JsonDeserializeMiddleware : IMessageMiddleware
public Task Invoke(IMessageContext context, MiddlewareDelegate next)
{
if(!(context.Message is byte[] rawMessage))
throw new InvalidoperationException();
throw new InvalidOperationException();

var type = Type.GetType(context.Headers.GetString("Message-Type"));

Expand Down

0 comments on commit 069780e

Please sign in to comment.