blchelle/reddit-clone-cli

Remove OwnedUserId from anonymous posts

Closed this issue · 0 comments

Description

Currently, if an anonymous user makes a post. The document for the post will set the OwnedUserId to -1.
What should happen, is that the document should be created without the OwnedUserId field