Skip to content

Commit

Permalink
docs: fix typo in InvalidOperationException (lowercase o)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmpetrov authored and joelfoliveira committed Feb 26, 2024
1 parent 4837227 commit fcd2eda
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 fcd2eda

Please sign in to comment.