Skip to content

Commit 6b77d32

Browse files
authored
docs(nextjs): correct nonexistent function name in deprecation message
1 parent 737fb0e commit 6b77d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/common/wrapApiHandlerWithSentry.ts

Lines changed: 1 addition & 1 deletion
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)