firebase-admin-node
firebase-admin-node copied to clipboard
Allow bypassing getUser request when creating or updating a user
Closes #1885
Summary
The updateUser() and createUser() methods always perform two API requests under the hood: (1) the create/update request, and (2) a subsequent getUser() request.
This PR adds an optional parameter noFetchUserRecord that allows bypassing the getUser() request when not needed, so that it returns void.
@lahirumaramba @prameshj please check thanks 🙏🏼