Skip to content

beforeUserSignedIn has field misspelled photoURL instead of photoUrl #1638

Open
@mohankumarelec

Description

@mohankumarelec

Related issues

[REQUIRED] Version info

node: 20.18.0

firebase-functions: 6.0.1

firebase-tools: 13.25.0

firebase-admin: 12.6.0

[REQUIRED] Test case

export const beforecreated = beforeUserCreated(async () => {
  return {
    photoUrl: "https://url1.test.com", 
    photoURL: "https://url2.test.com", 
  };
});

[REQUIRED] Steps to reproduce

Create above blocking function and check which url is returned for photo url. its photoUrl and not photoURL.

[REQUIRED] Expected behavior

As per typescript interface it must return photoURL and not photoUrl

[REQUIRED] Actual behavior

photoURL must be returned

Were you able to successfully deploy your functions?

yes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions