Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
GrpcService.prototype.decorateRequest_ = function(reqOpts) {
reqOpts = extend({}, reqOpts);
delete reqOpts.autoPaginate;
delete reqOpts.autoPaginateVal;
delete reqOpts.objectMode;
return util.replaceProjectIdToken(reqOpts, this.projectId);
};
GrpcService.prototype.decorateRequest_ = function(reqOpts) {
reqOpts = extend({}, reqOpts);
delete reqOpts.autoPaginate;
delete reqOpts.autoPaginateVal;
delete reqOpts.objectMode;
return util.replaceProjectIdToken(reqOpts, this.projectId);
};