Skip to content

Commit 129e61d

Browse files
committed
fix: snowflake max length
1 parent a7b613f commit 129e61d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/angry-ladybugs-study.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'jellycommands': patch
3+
---
4+
5+
snowflake max length has changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Joi from 'joi';
22

3-
export const snowflake = () => Joi.string().length(18);
3+
export const snowflake = () => Joi.string().min(18);
44
export const snowflakeArray = () => Joi.array().items(snowflake());
55

66
export const pathsSchema = () => [Joi.string(), Joi.array().items(Joi.string())];

0 commit comments

Comments
 (0)