Skip to content

Commit

Permalink
feat(smithy-client): update client defaults provider
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Apr 17, 2023
1 parent 8798a6e commit 3a4d2cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/smithy-client/src/serde-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const _json = (obj: any): any => {
if (Array.isArray(obj)) {
return obj.filter((_: any) => _ != null);
}
if (typeof obj === 'object') {
if (typeof obj === "object") {
const target: any = {};
for (const key of Object.keys(obj)) {
if (obj[key] == null) {
Expand All @@ -25,4 +25,4 @@ export const _json = (obj: any): any => {
return target;
}
return obj;
}
};

0 comments on commit 3a4d2cb

Please sign in to comment.