Adds storage service logging around story distribution lists
This commit is contained in:
parent
613d893f45
commit
26ae1c8a88
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue