Adds storage service logging around story distribution lists

This commit is contained in:
Josh Perez
2023-03-09 16:50:29 -05:00
committed by GitHub
parent 613d893f45
commit 26ae1c8a88

View File

@@ -1575,6 +1575,7 @@ export async function mergeStoryDistributionListRecord(
);
if (!needsUpdate) {
details.push('not updated');
return {
details: [...details, ...conflictDetails],
hasConflict,
@@ -1584,6 +1585,7 @@ export async function mergeStoryDistributionListRecord(
}
if (needsUpdate) {
details.push('updated');
await dataInterface.modifyStoryDistributionWithMembers(storyDistribution, {
toAdd,
toRemove,