Skip to content

Commit

Permalink
Adds storage service logging around story distribution lists
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and josh-signal committed Mar 9, 2023
1 parent e870622 commit fdb8a3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ts/services/storageRecordOps.ts
Expand Up @@ -1575,6 +1575,7 @@ export async function mergeStoryDistributionListRecord(
);

if (!needsUpdate) {
details.push('not updated');
return {
details: [...details, ...conflictDetails],
hasConflict,
Expand All @@ -1584,6 +1585,7 @@ export async function mergeStoryDistributionListRecord(
}

if (needsUpdate) {
details.push('updated');
await dataInterface.modifyStoryDistributionWithMembers(storyDistribution, {
toAdd,
toRemove,
Expand Down

0 comments on commit fdb8a3a

Please sign in to comment.