Skip to content

Commit

Permalink
Update RusiMessagingTransport.cs
Browse files Browse the repository at this point in the history
Fixed pubsub name default value to empty string when null
  • Loading branch information
fraliv13 authored Nov 3, 2021
1 parent a634319 commit f36b431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Messaging/NBB.Messaging.Rusi/RusiMessagingTransport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public async Task<IDisposable> SubscribeAsync(string topic, Func<TransportReceiv

var subRequest = new SubscriptionRequest()
{
PubsubName = _options.Value.PubsubName,
PubsubName = _options.Value.PubsubName ?? string.Empty,
Topic = topic,
Options = subscriptionOptions
};
Expand Down

0 comments on commit f36b431

Please sign in to comment.