質問編集履歴

1

fetch方法を更新しました

2018/08/15 12:59

投稿

yamady
yamady

スコア176

test CHANGED
File without changes
test CHANGED
@@ -36,7 +36,7 @@
36
36
 
37
37
  .then((items) => {
38
38
 
39
- const userPromises = _.map(snapshot.val(), async (item, itemId) => {
39
+ const userPromises = items.map((item, itemId) => {
40
40
 
41
41
  return firebase.firestore().collection('users').doc(`${item.userId}`).get()
42
42