Create Cloud Function for Get list from Firestore Database
this coding work in node js Coding as bellow : exports . GetBhajanList = functions . https . onRequest (( request , response ) => { let Bhajancol = admin . firestore (). collection ( 'BhajanList' ); let adminpasswordcol = admin . firestore (). collection ( 'AdminUser' ); let adminpassword = request . query . adminpassword adminpasswordcol . get () . then ( snap => { snap . forEach ( document => { let Pwd = document . data (). Password if ( Pwd !== adminpassword ){ let Message = 'Password Not Match' ; const data ={ "status" : 2 , "msg" : Message } return response . send ({ data }); } else { Bhajancol . get () . then ( snapshot => { ...