Skip to content

Commit 4cdf0c1

Browse files
committed
Fix FormData alias in manual instrumentation
1 parent a119ab0 commit 4cdf0c1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/remix/src/utils/utils.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ export async function storeFormDataKeys(
2828
let attrKey = key;
2929

3030
if (formDataKeys?.[key]) {
31-
if (formDataKeys[key] === false) {
32-
return;
33-
} else if (typeof value === 'string') {
34-
attrKey = key;
31+
if (typeof formDataKeys[key] === 'string') {
32+
attrKey = formDataKeys[key] as string;
3533
}
3634

3735
span.setAttribute(

0 commit comments

Comments
 (0)