Refactor deleteChannel method in PCastApi to return a status object instead of a Channel
This commit is contained in:
@@ -66,7 +66,7 @@ export class PCastApi {
|
||||
}
|
||||
|
||||
// @deprecated - use pcastApi.channels.delete instead
|
||||
public async deleteChannel(channelId: string): Promise<Channel> {
|
||||
public async deleteChannel(channelId: string): Promise<{status: string}> {
|
||||
return this._channels.delete({channelId});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user