joie / joie-web-app

Joie pairs you with world-class teachers to help you build a healthier and happier life – one step at a time.
https://joie.co
0 stars 0 forks source link

Refactor session owner data model to just reference #170

Open yinonov opened 3 years ago

yinonov commented 3 years ago

Is your feature request related to a problem? Please describe. Changing owner user information might not get reflected in a session doc

Describe the solution you'd like replace hardcoded owner object with a reference to a user document

Describe alternatives you've considered Another solution could have been to trigger update of user owned session relevant data upon user doc update. but that fails with 3rd party sign in methods where user info can be edited elsewhere