Skip to content

Commit

Permalink
Overwrite existing audit blob (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Dec 24, 2024
1 parent bb159fb commit 43b8c83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public async Task SetAuditDetailAsync(string entityLogicalName, Guid id, AuditDe
_serializer.WriteObject(ms, auditDetailCollection);
ms.Seek(0L, SeekOrigin.Begin);

await blobClient.UploadAsync(ms);
await blobClient.UploadAsync(ms, overwrite: true);
}

private static string GetBlobName(string entityLogicalName, Guid id) => $"{entityLogicalName}/{id:N}.xml";
Expand Down

0 comments on commit 43b8c83

Please sign in to comment.