Updated the .data() method to .query() for superagent.