public override async Task <EmptyResponse> DeclineAssetDisclaimer(AssetDisclaimerRequest request, ServerCallContext context) { var result = new EmptyResponse(); var token = context.GetBearerToken(); var response = await _walletApiV1Client.DeclineAssetDisclaimerAsync(request.DisclaimerId, token); if (response.Error != null) { result.Error = response.Error.ToApiError(); } return(result); }
public override Task <EmptyResponse> DeclineAssetDisclaimer(AssetDisclaimerRequest request, ServerCallContext context) { var resp = new EmptyResponse(); return(Task.FromResult(resp)); }