Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TDDD27_help
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Erik Berglund
  • TDDD27_help
  • Issues
  • #120
Closed
Open
Issue created Apr 08, 2022 by Filip Arvidsson@filar698

Can't return user reference from firebase

Hi! I'm working with firebase in react. It says that onsnapshot is undefied, since I don't return a userRef.

The thing is that I do. Found a person with the exact same problem here: https://stackoverflow.com/questions/67368726/cannot-read-property-onsnapshot-of-undefined and here... https://stackoverflow.com/questions/68499912/firestore-returns-me-null-value-when-i-call-the-get-method https://stackoverflow.com/questions/71367197/firebase-createuserprofiledocument-is-returning-undefined

But since I do return a userRef, none of it is to any help.

I do get an AuthRef which work but can't return anything from the function who returns a userRef.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking