Skip to content

Commit 90cf16a

Browse files
authored
fix/badge issuance error for non wallet issuance (#1411)
Signed-off-by: Sujit <[email protected]>
1 parent 847e366 commit 90cf16a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/agent-service/src/agent-service.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,7 +1568,7 @@ export class AgentServiceService {
15681568
description: ResponseMessages.errorMessages.notFound
15691569
});
15701570
}
1571-
const url = getAgentUrl(orgAgentDetails.agentEndPoint, CommonConstants.SIGN_DATA_FROM_AGENT);
1571+
const url = await getAgentUrl(orgAgentDetails.agentEndPoint, CommonConstants.SIGN_DATA_FROM_AGENT);
15721572

15731573
const { dataTypeToSign, credentialPayload, rawPayload, storeCredential } = data;
15741574

@@ -1628,7 +1628,7 @@ export class AgentServiceService {
16281628
description: ResponseMessages.errorMessages.notFound
16291629
});
16301630
}
1631-
const url = getAgentUrl(orgAgentDetails.agentEndPoint, CommonConstants.VERIFY_SIGNED_DATA_FROM_AGENT);
1631+
const url = await getAgentUrl(orgAgentDetails.agentEndPoint, CommonConstants.VERIFY_SIGNED_DATA_FROM_AGENT);
16321632

16331633
// Invoke an API request from the agent to assess its current status
16341634
const signedDataFromAgent = await this.commonService

libs/common/src/common.constant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export enum CommonConstants {
111111
URL_AGENT_GET_ENDPOINT = '/agent',
112112

113113
// sign data from agent
114-
URL_AGENT_SIGN_DATA = '/agent/credential/sign/#',
114+
URL_AGENT_SIGN_DATA = '/agent/credential/sign',
115115
URL_AGENT_VERIFY_SIGNED_DATA = '/agent/credential/verify',
116116

117117
// CREATE KEYS

0 commit comments

Comments
 (0)