Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fix: Fix "Cannot read properties of null (reading 'photoURL')" error #718

Merged
merged 1 commit into from
Jul 8, 2023
Merged

Bug Fix: Fix "Cannot read properties of null (reading 'photoURL')" error #718

merged 1 commit into from
Jul 8, 2023

Conversation

fiskryeziu
Copy link
Contributor

Description

This pull request fixes a bug that causes a "Cannot read properties of null (reading 'photoURL')" error in the code. The error occurs when the user object is null or undefined, and the code tries to access the photoURL property.

Changes Made

Added a conditional check to verify if the user object exists before accessing the photoURL property.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there, Thanks a lot for your first pull request, we'll be reviewing it asap :)

Copy link
Owner

@narayan954 narayan954 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@narayan954 narayan954 merged commit f0fa8a5 into narayan954:master Jul 8, 2023
5 of 6 checks passed
@narayan954
Copy link
Owner

Thanks a lot for fixing the error! :)

@fiskryeziu fiskryeziu deleted the bugfix-branch branch July 9, 2023 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants