We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 066e00c commit d869486Copy full SHA for d869486
packages/utils/src/requestdata.ts
@@ -199,7 +199,7 @@ function extractUserData(
199
}
200
201
/**
202
- * Normalizes data from the request object, accounting for framework differences.
+ * Normalize data from the request object, accounting for framework differences.
203
*
204
* @param req The request object from which to extract data
205
* @param options.include An optional array of keys to include in the normalized data. Defaults to
@@ -241,7 +241,6 @@ export function extractRequestData(
241
const originalUrl = req.originalUrl || req.url || '';
242
// absolute url
243
const absoluteUrl = `${protocol}://${host}${originalUrl}`;
244
-
245
include.forEach(key => {
246
switch (key) {
247
case 'headers': {
0 commit comments