diff --git a/BE/service/src/dto/proof.dto.ts b/BE/service/src/dto/proof.dto.ts index ca84e6a..37e40d5 100644 --- a/BE/service/src/dto/proof.dto.ts +++ b/BE/service/src/dto/proof.dto.ts @@ -8,10 +8,10 @@ export class ProofDto { readonly ServiceName: string; @ApiProperty({ - description: 'Holder pub key', + description: 'Issuer pub key', example: 'wakeful-cave.testnet', }) - readonly HolderPubKey: string; + readonly IssuerPubKey: string; @ApiProperty({ description: 'proof', example: '-' }) readonly proof: string; diff --git a/BE/verifier/src/dto/proof.dto.ts b/BE/verifier/src/dto/proof.dto.ts index ca84e6a..37e40d5 100644 --- a/BE/verifier/src/dto/proof.dto.ts +++ b/BE/verifier/src/dto/proof.dto.ts @@ -8,10 +8,10 @@ export class ProofDto { readonly ServiceName: string; @ApiProperty({ - description: 'Holder pub key', + description: 'Issuer pub key', example: 'wakeful-cave.testnet', }) - readonly HolderPubKey: string; + readonly IssuerPubKey: string; @ApiProperty({ description: 'proof', example: '-' }) readonly proof: string; diff --git a/BE/verifier/src/verifier/verifier-api.controller.ts b/BE/verifier/src/verifier/verifier-api.controller.ts index 338fb4b..59b6735 100644 --- a/BE/verifier/src/verifier/verifier-api.controller.ts +++ b/BE/verifier/src/verifier/verifier-api.controller.ts @@ -18,7 +18,7 @@ export class VerifierAPIController { summary: '생성된 Proof를 검증', }) async verifyProof(@Body() dto: ProofDto): Promise { - const { ServiceName, HolderPubKey, proof } = dto; + const { ServiceName, IssuerPubKey, proof } = dto; // const document = get_document(did: string): Document // const { encodedPubKey } = document.public_key; @@ -40,7 +40,7 @@ export class VerifierAPIController { try { const verifyResult = await this.verifierAPIService.loadProofResult( ServiceName, - HolderPubKey, + IssuerPubKey, ); if (!verifyResult) { throw new CustomErrorException('Verify Load Failed', 502);