Update post.js -> fix "Error: Invalid value" with Postgresql

Fix "Error: Invalid value" with Postgresql by parsing int.