Commit ac65702a authored by Juan Manuel Solaro's avatar Juan Manuel Solaro

(fix) move scheduled endpoint as per review

1 merge request!494WIP: epic/post-scheduler
Pipeline #78009750 passed with stages
in 47 minutes and 19 seconds
......@@ -104,7 +104,7 @@ export class ChannelSortedComponent implements OnInit {
let endpoint = 'api/v2/feeds/container';
if (this.viewScheduled) {
endpoint = 'api/v2/channel/scheduled';
endpoint = 'api/v2/feeds/scheduled';
}
try {
......@@ -193,7 +193,7 @@ export class ChannelSortedComponent implements OnInit {
}
async getScheduledCount() {
const url = `api/v2/channel/scheduled/${this.channel.guid}/count`;
const url = `api/v2/feeds/scheduled/${this.channel.guid}/count`;
const response: any = await this.client.get(url);
this.scheduledCount = response.count;
this.detectChanges();
......
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