diff --git a/src/api/live.ts b/src/api/live.ts index 0a3e758..e105d7a 100644 --- a/src/api/live.ts +++ b/src/api/live.ts @@ -150,7 +150,7 @@ export class ChzzkLive { } async status(channelId: string): Promise { - return this.client.fetch(`/polling/v2/channels/${channelId}/live-status`) + return this.client.fetch(`/polling/v3/channels/${channelId}/live-status`) .then(r => r.json()) .then(data => { const content = data['content'] @@ -170,7 +170,7 @@ export class ChzzkLive { } async detail(channelId: string): Promise { - return this.client.fetch(`/service/v2/channels/${channelId}/live-detail`) + return this.client.fetch(`/service/v3/channels/${channelId}/live-detail`) .then(r => r.json()) .then(data => { const content = data['content']