diff --git a/packages/daf-cli/src/credential.ts b/packages/daf-cli/src/credential.ts index 8f3d76df5..8c47723ac 100644 --- a/packages/daf-cli/src/credential.ts +++ b/packages/daf-cli/src/credential.ts @@ -123,17 +123,17 @@ program choices: myDids, message: 'Issuer DID', }, + { + type: 'input', + name: 'tag', + message: 'Tag', + }, { type: 'list', name: 'aud', message: 'Audience DID', choices: identities, }, - { - type: 'input', - name: 'tag', - message: 'Tag', - }, ]) if (!answers.aud) { @@ -214,7 +214,7 @@ program type: DIDComm.ActionTypes.sendJwt, data: { from: answers.iss, - to: answers.aud, + to: aud, jwt, }, }