In the world of web development, ensuring the security and privacy of user data is paramount. One of the key aspects of this is implementing robust...
For further actions, you may consider blocking this person and/or reporting abuse
There is confusion at the beginning of the article.
I think you need to replace:
if(user.id == post.id) do
if(user.id == post.user_id) do
Thanks, Fixed it