Skip to content

Commit

Permalink
fix: network type changes (#771)
Browse files Browse the repository at this point in the history
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
  • Loading branch information
pranalidhanavade authored Jun 13, 2024
1 parent 7da954f commit b12a883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/agent-service/src/agent-service.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ export class AgentServiceService {
await this.agentServiceRepository.setPrimaryDid(storeDidDetails.did, orgId, storeDidDetails.didDocument);
}

if (method === DidMethod.INDY) {
if (network) {
const getLedgerDetails = await this.agentServiceRepository.getLedgerByNameSpace(network);
await this.agentServiceRepository.updateLedgerId(orgId, getLedgerDetails.id);
}
Expand Down

0 comments on commit b12a883

Please sign in to comment.