fix community schema in encode-url-data.ts (#554)

* fix community schema in encode-url-data.ts

* Create fifty-items-speak.md
This commit is contained in:
Felicio Mununga 2024-04-29 18:32:57 +02:00 committed by GitHub
parent 111e048e7b
commit 8249e9f9e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@status-im/js": patch
---
fix community schema in encode-url-data.ts

View File

@ -16,7 +16,7 @@ const communitySchema = z.object({
description: z.string().max(140).nonempty(),
membersCount: z.number().nonnegative(),
color: colorSchema,
tagIndices: z.number().nonnegative().array(),
tagIndices: z.number().nonnegative().array().optional(),
})
export function encodeCommunityURLData(