Skip to content

Commit 54a5834

Browse files
authored
Add null to customUserClaims (#958)
1 parent c70144f commit 54a5834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ export class BaseAuth<T extends AbstractAuthRequestHandler> {
424424
* @return {Promise<void>} A promise that resolves when the operation completes
425425
* successfully.
426426
*/
427-
public setCustomUserClaims(uid: string, customUserClaims: object): Promise<void> {
427+
public setCustomUserClaims(uid: string, customUserClaims: object | null): Promise<void> {
428428
return this.authRequestHandler.setCustomUserClaims(uid, customUserClaims)
429429
.then(() => {
430430
// Return nothing on success.

0 commit comments

Comments
 (0)