( chaincode: TestChaincode, userRef: UserRef )
| 111 | } |
| 112 | |
| 113 | export async function getPublicKey( |
| 114 | chaincode: TestChaincode, |
| 115 | userRef: UserRef |
| 116 | ): Promise<GalaChainResponse<PublicKey>> { |
| 117 | const dto = await createValidDTO<GetPublicKeyDto>(GetPublicKeyDto, { user: userRef }); |
| 118 | return chaincode.invoke("PublicKeyContract:GetPublicKey", dto); |
| 119 | } |
| 120 | |
| 121 | export async function getUserProfile( |
| 122 | chaincode: TestChaincode, |
no test coverage detected