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 uploadClickConversions(conversions: Array): Promise {
const protobufs = this.buildResources('ClickConversion', conversions) as Array
const request = new grpc.UploadClickConversionsRequest()
request.setCustomerId(this.cid)
request.setConversionsList(protobufs)
request.setPartialFailure(true)
const response = await this.serviceCall('uploadClickConversions', request, true)
return response
}
}