Refactor deleteChannel method in PCastApi to return a status object instead of a Channel

This commit is contained in:
2025-09-07 13:11:44 -04:00
parent 39086b0f08
commit 68f1b47118

View File

@@ -66,7 +66,7 @@ export class PCastApi {
} }
// @deprecated - use pcastApi.channels.delete instead // @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}); return this._channels.delete({channelId});
} }