Skip to content

Commit

Permalink
add default value to function
Browse files Browse the repository at this point in the history
  • Loading branch information
nfranczak committed Feb 28, 2024
1 parent 2d3e19c commit 2502c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/motion/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const encodeConstraints = (obj: Constraints): pb.Constraints => {
};

export const encodeMotionConfiguration = (
obj: MotionConfiguration
obj: MotionConfiguration = {}
): pb.MotionConfiguration => {
const result = new pb.MotionConfiguration();

Expand Down

0 comments on commit 2502c56

Please sign in to comment.