From 68f1b471186b13700af2c6c13e55bb4ff6d0811c Mon Sep 17 00:00:00 2001 From: Alexander Zinn Date: Sun, 7 Sep 2025 13:11:44 -0400 Subject: [PATCH] Refactor deleteChannel method in PCastApi to return a status object instead of a Channel --- src/PCastApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PCastApi.ts b/src/PCastApi.ts index a743b68..7cbad5c 100644 --- a/src/PCastApi.ts +++ b/src/PCastApi.ts @@ -66,7 +66,7 @@ export class PCastApi { } // @deprecated - use pcastApi.channels.delete instead - public async deleteChannel(channelId: string): Promise { + public async deleteChannel(channelId: string): Promise<{status: string}> { return this._channels.delete({channelId}); }