diff --git a/.changeset/moody-coats-serve.md b/.changeset/moody-coats-serve.md new file mode 100644 index 00000000000..f0e08cec7dc --- /dev/null +++ b/.changeset/moody-coats-serve.md @@ -0,0 +1,5 @@ +--- +'@clerk/backend': patch +--- + +Remove deprecation warning that is logging more than intended and not actionable for users of our SDKs. diff --git a/packages/backend/src/api/request.ts b/packages/backend/src/api/request.ts index e7ed19bc0b9..fee69a39486 100644 --- a/packages/backend/src/api/request.ts +++ b/packages/backend/src/api/request.ts @@ -51,11 +51,6 @@ type LegacyRequestFunction = (requestOptions: ClerkBackendApiRequestOptions) const withLegacyReturn = (cb: any): LegacyRequestFunction => async (...args) => { - deprecated( - '', - 'Resources return format will switch to `{ data: any, errors: ClerkAPIError[] }` from `data | never` the next major version.', - 'resources-legacy-return', - ); // @ts-ignore const { data, errors, status, statusText } = await cb(...args); if (errors === null) {