回答編集履歴
1
foreach -> map
test
CHANGED
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
function deleteCustumClamims(masters, cid) {
|
94
94
|
|
95
|
-
return Promise.all(masters.
|
95
|
+
return Promise.all(masters.map(async master =>{
|
96
96
|
|
97
97
|
const userRecord = await admin.auth().getUser(master);
|
98
98
|
|