Skip to content

Commit

Permalink
Merge pull request #1750 from RafaelTaranto/rebase/cex-io-missing-creds
Browse files Browse the repository at this point in the history
LAM-832 fix: CEX.IO missing credential UID
  • Loading branch information
RafaelTaranto authored Nov 28, 2024
2 parents 03354a8 + 5626a77 commit 2665bb5
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 2665bb5

Please sign in to comment.