Skip to content

Commit 694d80d

Browse files
committed
doc(node): Fix ignoreIncomingRequestBody JSDoc
1 parent 61940fc commit 694d80d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/node/src/integrations/http/SentryHttpInstrumentation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export type SentryHttpInstrumentationOptions = InstrumentationConfig & {
7777
* Do not capture the request body for incoming HTTP requests to URLs where the given callback returns `true`.
7878
* This can be useful for long running requests where the body is not needed and we want to avoid capturing it.
7979
*
80-
* @param url Contains the entire URL, including query string (if any), protocol, host, etc. of the outgoing request.
81-
* @param request Contains the {@type RequestOptions} object used to make the outgoing request.
80+
* @param url Contains the entire URL, including query string (if any), protocol, host, etc. of the incoming request.
81+
* @param request Contains the {@type RequestOptions} object used to make the incoming request.
8282
*/
8383
ignoreIncomingRequestBody?: (url: string, request: http.RequestOptions) => boolean;
8484

packages/node/src/integrations/http/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ interface HttpOptions {
8585
* Do not capture the request body for incoming HTTP requests to URLs where the given callback returns `true`.
8686
* This can be useful for long running requests where the body is not needed and we want to avoid capturing it.
8787
*
88-
* @param url Contains the entire URL, including query string (if any), protocol, host, etc. of the outgoing request.
89-
* @param request Contains the {@type RequestOptions} object used to make the outgoing request.
88+
* @param url Contains the entire URL, including query string (if any), protocol, host, etc. of the incoming request.
89+
* @param request Contains the {@type RequestOptions} object used to make the incoming request.
9090
*/
9191
ignoreIncomingRequestBody?: (url: string, request: RequestOptions) => boolean;
9292

0 commit comments

Comments
 (0)