Skip to content

Commit 43b8a3d

Browse files
authored
docs(nextjs): Fix function name in deprecation message (#10583)
1 parent ac9e3ec commit 43b8a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/common/wrapApiHandlerWithSentry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const withSentryAPI = wrapApiHandlerWithSentry;
4545
* @param parameterizedRoute The route whose handler is being wrapped. Meant for internal use only.
4646
* @returns A wrapped version of the handler
4747
*
48-
* @deprecated Use `wrapApiWithSentry()` instead
48+
* @deprecated Use `wrapApiHandlerWithSentry()` instead
4949
*/
5050
export function withSentry(apiHandler: NextApiHandler, parameterizedRoute?: string): NextApiHandler {
5151
return new Proxy(apiHandler, {

0 commit comments

Comments
 (0)