storePost

private fun storePost(postKey: String, post: Post)

Adds the post to the database.

Parameters

postKey

Unique identifier of the post to be added to the database.

post

Post to be added to the database.