Adds storage service logging around story distribution lists
This commit is contained in:
@@ -1575,6 +1575,7 @@ export async function mergeStoryDistributionListRecord(
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (!needsUpdate) {
|
if (!needsUpdate) {
|
||||||
|
details.push('not updated');
|
||||||
return {
|
return {
|
||||||
details: [...details, ...conflictDetails],
|
details: [...details, ...conflictDetails],
|
||||||
hasConflict,
|
hasConflict,
|
||||||
@@ -1584,6 +1585,7 @@ export async function mergeStoryDistributionListRecord(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (needsUpdate) {
|
if (needsUpdate) {
|
||||||
|
details.push('updated');
|
||||||
await dataInterface.modifyStoryDistributionWithMembers(storyDistribution, {
|
await dataInterface.modifyStoryDistributionWithMembers(storyDistribution, {
|
||||||
toAdd,
|
toAdd,
|
||||||
toRemove,
|
toRemove,
|
||||||
|
Reference in New Issue
Block a user