Skip to content

Commit

Permalink
chore: cleanup unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Dec 19, 2024
1 parent ba1cc8d commit 54f5420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/json-api/src/-private/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function serializePatch(

Object.keys(attrsChanges).forEach((key) => {
const change = attrsChanges[key];
const newVal = change[1] as Value | undefined;
const newVal = change[1];
attributes[key] = newVal === undefined ? null : newVal;
});

Expand Down

0 comments on commit 54f5420

Please sign in to comment.