Skip to content

Commit 5f6143a

Browse files
committed
Adds correct type for robot fingers!
1 parent 99baa6c commit 5f6143a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

public/script.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ function configureData() {
7575
parameters: {
7676
type: 'object',
7777
properties: {
78-
numberOfFingers: { type: 'string', description: 'Values 1 through 5 of the number of fingers to hold up' },
78+
numberOfFingers: {
79+
enum: [1, 2, 3, 4, 5],
80+
description: 'Values 1 through 5 of the number of fingers to hold up' },
7981
},
8082
},
8183
},

0 commit comments

Comments
 (0)