Skip to content

Commit

Permalink
Update ReceivedMessage.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
houseofcat committed Mar 31, 2024
1 parent 42335d5 commit 244eef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HouseofCat.RabbitMQ/Messages/ReceivedMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public ReceivedMessage(
Channel = channel;
DeliveryTag = result.DeliveryTag;
Properties = result.BasicProperties;
Data = result.Body.ToArray();
Data = result.Body;

ReadHeaders();
}
Expand All @@ -88,7 +88,7 @@ public ReceivedMessage(
ConsumerTag = args.ConsumerTag;
DeliveryTag = args.DeliveryTag;
Properties = args.BasicProperties;
Data = args.Body.ToArray();
Data = args.Body;

ReadHeaders();
}
Expand Down

0 comments on commit 244eef1

Please sign in to comment.