Skip to content

Commit

Permalink
fix: CEX.IO missing credential UID
Browse files Browse the repository at this point in the history
  • Loading branch information
chaotixkilla authored and RafaelTaranto committed Nov 27, 2024
1 parent 0c251a6 commit 5626a77
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions new-lamassu-admin/src/pages/Services/schemas/cex.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ export default {
face: true,
long: true
},
{
code: 'uid',
display: 'User ID',
component: TextInputFormik,
face: true,
long: true
},
{
code: 'privateKey',
display: 'Private Key',
Expand All @@ -28,6 +35,9 @@ export default {
apiKey: Yup.string('The API key must be a string')
.max(100, 'The API key is too long')
.required('The API key is required'),
uid: Yup.string('The User ID must be a string')
.max(100, 'The User ID is too long')
.required('The User ID is required'),
privateKey: Yup.string('The private key must be a string')
.max(100, 'The private key is too long')
.test(secretTest(account?.privateKey, 'private key'))
Expand Down

0 comments on commit 5626a77

Please sign in to comment.