Skip to content

Commit

Permalink
fix: add meaningful message for evm/starknet network
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Oct 9, 2024
1 parent cf4c4ef commit d4c11e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/schemas/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@
"anyOf": [
{ "snapshotNetwork": true },
{ "starknetNetwork": true }
]
],
"errorMessage": "Must be a valid network"
},
"delegationApi": {
"type": "string",
Expand Down Expand Up @@ -389,7 +390,8 @@
"anyOf": [
{ "snapshotNetwork": true },
{ "starknetNetwork": true }
]
],
"errorMessage": "Must be a valid network"
}
},
"required": ["name", "address", "network"],
Expand Down

0 comments on commit d4c11e1

Please sign in to comment.