Commit abacd0de authored by Marcelo Rivera's avatar Marcelo Rivera

(chore): moved v2/feeds/channel to v2/pro/content

1 merge request!528WIP: (feat): Minds Pro
Pipeline #82529333 failed with stages
in 4 minutes and 20 seconds
......@@ -159,12 +159,14 @@ export class ProChannelService implements OnDestroy {
throw new Error('No channel');
}
const endpoint = `api/v2/feeds/channel/${this.currentChannel.guid}/all/top`;
const endpoint = `api/v2/pro/content/${this.currentChannel.guid}/all/top`;
const qs = {
limit: params.limit || 24,
from_timestamp: params.offset || '',
sync: 1,
exclude: (this.currentChannel.pro_settings.featured_content || []).join(',') || '',
exclude:
(this.currentChannel.pro_settings.featured_content || []).join(',') ||
'',
cache: true,
};
......
......@@ -115,7 +115,7 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
params.sync = 1;
}
let url = `api/v2/feeds/channel/${this.channelService.currentChannel.guid}/${this.type}/${this.algorithm}`;
let url = `api/v2/pro/content/${this.channelService.currentChannel.guid}/${this.type}/${this.algorithm}`;
try {
this.feedsService
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment