Commit 336cb3aa4d8fb7aaf4fbccf849a72fcac908a719

Authored by Leandro Santos
1 parent 8be94aad

change categories_ids to category_ids

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
@@ -874,8 +874,8 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers @@ -874,8 +874,8 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers
874 return msg; 874 return msg;
875 }, 875 },
876 display_events: function(cat_id, active_category) { 876 display_events: function(cat_id, active_category) {
877 - //var url = host + '/api/v1/communities/' + dialoga_community + '/articles?categories_ids[]=' + cat_id + '&content_type=Event&private_token=' + '375bee7e17d0021af7160ce664874618';  
878 - var url = host + '/api/v1/communities/' + dialoga_community + '/articles?categories_ids[]=' + cat_id + '&content_type=Event'; 877 + //var url = host + '/api/v1/communities/' + dialoga_community + '/articles?category_ids[]=' + cat_id + '&content_type=Event&private_token=' + '375bee7e17d0021af7160ce664874618';
  878 + var url = host + '/api/v1/communities/' + dialoga_community + '/articles?category_ids[]=' + cat_id + '&content_type=Event';
879 $.getJSON(url).done(function (data) { 879 $.getJSON(url).done(function (data) {
880 880
881 if(data.articles.length === 0){ 881 if(data.articles.length === 0){