Sync stories sent to a group
This commit is contained in:
parent
808118d1e4
commit
dca848389c
5 changed files with 54 additions and 25 deletions
|
@ -27,9 +27,8 @@ export function getFakeMyStory(id?: string, name?: string): MyStoryType {
|
|||
const storyCount = casual.integer(2, 6);
|
||||
|
||||
return {
|
||||
distributionId: id || UUID.generate().toString(),
|
||||
distributionName:
|
||||
name || id === MY_STORIES_ID ? 'My Stories' : casual.catch_phrase,
|
||||
id: id || UUID.generate().toString(),
|
||||
name: name || id === MY_STORIES_ID ? 'My Stories' : casual.catch_phrase,
|
||||
stories: Array.from(Array(storyCount), () => ({
|
||||
...getFakeStoryView(),
|
||||
sendState: [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue