Skip to content

Commit

Permalink
Allow only unique admins and memebers (#596)
Browse files Browse the repository at this point in the history
* Allow only unique admins and memebers

* Update package.json
  • Loading branch information
ChaituVR authored May 31, 2022
1 parent 7c69302 commit a4229a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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.3.87",
"version": "0.3.88",
"repository": "snapshot-labs/snapshot.js",
"license": "MIT",
"main": "dist/snapshot.cjs.js",
Expand Down
6 changes: 4 additions & 2 deletions src/schemas/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
"minLength": 42,
"maxLength": 42
},
"title": "members"
"title": "members",
"uniqueItems": true
},
"admins": {
"type": "array",
Expand All @@ -134,7 +135,8 @@
"minLength": 42,
"maxLength": 42
},
"title": "admins"
"title": "admins",
"uniqueItems": true
},
"filters": {
"type": "object",
Expand Down

0 comments on commit a4229a6

Please sign in to comment.