Skip to content

Commit

Permalink
fix: Labels description field as optional (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Sep 28, 2024
1 parent e5de0ca commit 8bf3023
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapshot-labs/snapshot.js",
"version": "0.12.18",
"version": "0.12.19",
"repository": "snapshot-labs/snapshot.js",
"license": "MIT",
"main": "dist/snapshot.cjs.js",
Expand Down
3 changes: 1 addition & 2 deletions src/schemas/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@
"description": {
"type": "string",
"title": "Description",
"minLength": 1,
"maxLength": 100
},
"color": {
Expand All @@ -424,7 +423,7 @@
"format": "color"
}
},
"required": ["id", "name", "description", "color"],
"required": ["id", "name", "color"],
"additionalProperties": false
}
},
Expand Down
1 change: 0 additions & 1 deletion test/examples/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
{
"id": "893b2f3",
"name": "Test 2",
"description": "Test Description 2",
"color": "#FBE54E"
}
]
Expand Down

0 comments on commit 8bf3023

Please sign in to comment.