firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

Allow bypassing getUser request when creating or updating a user

Open brettwillis opened this issue 2 years ago • 1 comments

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.

brettwillis avatar Mar 08 '23 20:03 brettwillis

@lahirumaramba @prameshj please check thanks 🙏🏼

brettwillis avatar Mar 08 '23 20:03 brettwillis