change CheckWalletKey rpc name to GetPublicKeyByNationalID

This commit is contained in:
hoessein_225 committed 2024-12-07 14:14:32 +03:30
1 parent 6a95269cef
commit f7729a595b
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -378,10 +378,10 @@ message RedeemTokenResList {
repeated RedeemTokenRes list = 1; repeated RedeemTokenRes list = 1;
} }
message CheckWalletKeyReq { message GetPublicKeyByNationalIDReq {
string national_id = 1; string national_id = 1;
} }
message CheckWalletKeyRes { message GetPublicKeyByNationalIDRes {
string pub_key = 1; string pub_key = 1;
} }
+1 -1
View File
@@ -40,5 +40,5 @@ service WalletService {
rpc RedeemToken(RedeemTokenReq) returns (base.v1.StatusRes); rpc RedeemToken(RedeemTokenReq) returns (base.v1.StatusRes);
rpc RedeemTokenList(auth.v1.ReqWithIAMAndParams) returns (RedeemTokenResList); rpc RedeemTokenList(auth.v1.ReqWithIAMAndParams) returns (RedeemTokenResList);
rpc CheckWalletKey(CheckWalletKeyReq) returns (CheckWalletKeyRes); rpc GetPublicKeyByNationalID(GetPublicKeyByNationalIDReq) returns (GetPublicKeyByNationalIDRes);
} }