Skip to content

Commit

Permalink
etag update on cascading updates
Browse files Browse the repository at this point in the history
  • Loading branch information
simpat-adam committed Jan 8, 2025
1 parent bb7fe49 commit 7e81b9c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ var originalIdentityJsonPath in originalIdentityJsonPaths
DateTimeOffset utcNow = DateTimeOffset.UtcNow;
string formattedUtcDateTime = utcNow.ToString("yyyy-MM-ddTHH:mm:ssZ");
returnEdFiDoc["_lastModifiedDate"] = formattedUtcDateTime;
returnEdFiDoc["_etag"] = formattedUtcDateTime.GetHashCode();

return new UpdateCascadeResult(
referencingEdFiDoc,
Expand Down

0 comments on commit 7e81b9c

Please sign in to comment.