回答編集履歴

1

foreach -> map

2020/12/26 13:05

投稿

aya-eiya
aya-eiya

スコア97

test CHANGED
@@ -92,7 +92,7 @@
92
92
 
93
93
  function deleteCustumClamims(masters, cid) {
94
94
 
95
- return Promise.all(masters.forEach(async master =>{
95
+ return Promise.all(masters.map(async master =>{
96
96
 
97
97
  const userRecord = await admin.auth().getUser(master);
98
98