diff --git a/packages/web-api/src/WebClient.ts b/packages/web-api/src/WebClient.ts index a054de227..924d9a927 100644 --- a/packages/web-api/src/WebClient.ts +++ b/packages/web-api/src/WebClient.ts @@ -820,7 +820,7 @@ function parseRetryHeaders(response: AxiosResponse): number | undefined { function warnDeprecations(method: string, logger: Logger): void { const deprecatedConversationsMethods = ['channels.', 'groups.', 'im.', 'mpim.']; - const deprecatedMethods = ['admin.conversations.whitelist.']; + const deprecatedMethods = ['admin.conversations.whitelist.', 'stars.']; const isDeprecatedConversations = deprecatedConversationsMethods.some((depMethod) => { const re = new RegExp(`^${depMethod}`);