Skip to content

Commit

Permalink
Mark stars.* API methods as deprecated (#1632)
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Jul 14, 2023
1 parent b1e6550 commit 765743e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-api/src/WebClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 765743e

Please sign in to comment.