Skip to content
Commits on Source (2)
......@@ -157,7 +157,7 @@ export class ProChannelService implements OnDestroy {
throw new Error('No channel');
}
const endpoint = `api/v2/pro/content/${this.currentChannel.guid}/all/top`;
const endpoint = `api/v2/pro/content/${this.currentChannel.guid}/all`;
const qs = {
limit: params.limit || 24,
from_timestamp: params.offset || '',
......
......@@ -34,8 +34,6 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
entities: any[] = [];
algorithm: string;
query: string;
period: string;
......@@ -97,7 +95,7 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
default:
throw new Error('Unknown type');
}
this.algorithm = params['algorithm'] || 'top';
this.query = params['query'] || '';
this.period = params['period'] || '';
this.selectedHashtag = params['hashtag'] || 'all';
......@@ -149,7 +147,7 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
params.sync = 1;
}
let url = `api/v2/pro/content/${this.channelService.currentChannel.guid}/${this.type}/${this.algorithm}`;
let url = `api/v2/pro/content/${this.channelService.currentChannel.guid}/${this.type}`;
try {
this.feedsService
......