Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async uploadCallConversions(conversions: Array): Promise {
const protobufs = this.buildResources('CallConversion', conversions) as Array
const request = new grpc.UploadCallConversionsRequest()
request.setCustomerId(this.cid)
request.setConversionsList(protobufs)
request.setPartialFailure(true)
const response = await this.serviceCall('uploadCallConversions', request, true)
return response
}