Skip to content

Commit b55d13d

Browse files
fix(examples): generate correctly typed example snippets for enums (#225)
1 parent 128856e commit b55d13d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ import com.lithic.api.models.Card;
8484
import com.lithic.api.models.CardCreateParams;
8585

8686
CardCreateParams params = CardCreateParams.builder()
87-
.type("SINGLE_USE")
87+
.type(CardCreateParams.Type.SINGLE_USE)
8888
.build();
8989
Card card = client.cards().create(params);
9090
```

0 commit comments

Comments
 (0)