Skip to content

Commit 5d7c31a

Browse files
committed
fix: two straggler snapshots
1 parent 3dd8c41 commit 5d7c31a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

samples/react-app-with-swr/basic/__snapshots__/endpoints/petstoreFromFileSpecWithTransformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const getListPetsUrl = (
9191

9292
Object.entries(params || {}).forEach(([key, value]) => {
9393
if (value !== undefined) {
94-
normalizedParams.append(key, value === null ? 'null' : value.toString());
94+
normalizedParams.append(key, value === null ? 'null' : String(value));
9595
}
9696
});
9797

samples/react-app-with-swr/basic/src/api/endpoints/petstoreFromFileSpecWithTransformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const getListPetsUrl = (
9191

9292
Object.entries(params || {}).forEach(([key, value]) => {
9393
if (value !== undefined) {
94-
normalizedParams.append(key, value === null ? 'null' : value.toString());
94+
normalizedParams.append(key, value === null ? 'null' : String(value));
9595
}
9696
});
9797

0 commit comments

Comments
 (0)