Database insert’s identity returning “INSERT”

Update: manually adding "returning": "user_id", in the json solved the problem, as described here: Nodejs: Identity returned by Insert is a nested object. It doens't return id anymore