Normalize the distribution list and UUIDs iOS sends us

This commit is contained in:
Josh Perez 2022-07-29 13:16:36 -04:00 committed by GitHub
parent 4a39264188
commit 7d2b91368d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 5 deletions

View file

@ -282,7 +282,9 @@ export const getStories = createSelector(
const list =
story.storyDistributionListId === MY_STORIES_ID
? { id: MY_STORIES_ID, name: MY_STORIES_ID }
: distributionListSelector(story.storyDistributionListId);
: distributionListSelector(
story.storyDistributionListId.toLowerCase()
);
if (!list) {
return;