Commit 450d03f922b650755bff80ce172cd13d76d06632

Authored by Victor Costa
1 parent ab8da883

Limit fields returned after create a new proposal

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
js/main.js
... ... @@ -105,7 +105,7 @@ $.getJSON(noosferoAPI)
105 105 $.ajax({
106 106 type: 'post',
107 107 url: host + '/api/v1/articles/' + proposal_id + '/children',
108   - data: $('#'+this.id).serialize() + "&private_token="+private_token
  108 + data: $('#'+this.id).serialize() + "&private_token="+private_token+"&fields=id"
109 109 })
110 110 .done(function( data ) {
111 111 form.reset();
... ...