Skip to content

Commit

Permalink
chore: remove unneeded obj type coersion
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Edwards <[email protected]>
  • Loading branch information
danbillson authored and lukeed committed Nov 19, 2024
1 parent 4fb123a commit b381f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/api/case-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function decamelizeKeys(obj: any): ObjectWithData {
output = {};
for (const key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
output[snakeCase(key)] = decamelizeKeys((obj as any)[key]);
output[snakeCase(key)] = decamelizeKeys(obj[key]);
}
}
}
Expand Down

0 comments on commit b381f9c

Please sign in to comment.