Skip to content

Commit

Permalink
fix(modules): Update list payments schema and types removing (unrequi…
Browse files Browse the repository at this point in the history
…ring) `addresses[]._id` field
  • Loading branch information
leomp12 committed Mar 28, 2024
1 parent 5360ed1 commit 17bd088
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
7 changes: 1 addition & 6 deletions packages/modules/schemas/list_payments.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,8 @@ const schema = {
'items': {
'type': 'object',
'additionalProperties': false,
'required': [ '_id', 'zip' ],
'required': [ 'zip' ],
'properties': {
'_id': {
'type': 'string',
'pattern': '^[a-f0-9]{24}$',
'description': 'Unique ID (ObjectID)'
},
'zip': {
'type': 'string',
'maxLength': 30,
Expand Down
4 changes: 0 additions & 4 deletions packages/types/modules/list_payments:params.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 17bd088

Please sign in to comment.