Skip to content

Commit 4ce6c23

Browse files
committed
Changing fallback for content type to text/plain
1 parent 74ac9fa commit 4ce6c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceControl.Audit.Persistence.RavenDB/UnitOfWork/RavenAuditIngestionUnitOfWork.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public async Task RecordProcessedMessage(ProcessedMessage processedMessage, Read
3535
if (!body.IsEmpty)
3636
{
3737
await using var stream = new ReadOnlyStream(body);
38-
var contentType = processedMessage.Headers.GetValueOrDefault(Headers.ContentType, "text/xml");
38+
var contentType = processedMessage.Headers.GetValueOrDefault(Headers.ContentType, "text/plain");
3939

4040
await bodyStorage.Store(processedMessage.Id, contentType, body.Length, stream, cancellationToken);
4141
}

0 commit comments

Comments
 (0)