We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00cb783 commit 0b2a265Copy full SHA for 0b2a265
2 files changed
handwritten/pubsub/src/index.ts
@@ -806,6 +806,8 @@ export class PubSub {
806
return;
807
}
808
this.projectId = projectId!;
809
+ this.options.projectId = projectId!;
810
+
811
this.getClient_(config, callback);
812
});
813
handwritten/pubsub/test/index.ts
@@ -1084,6 +1084,7 @@ describe('PubSub', () => {
1084
pubsub.getClient_(CONFIG, err => {
1085
assert.ifError(err);
1086
assert.strictEqual(pubsub.projectId, PROJECT_ID);
1087
+ assert.strictEqual(pubsub.options.projectId, PROJECT_ID);
1088
done();
1089
1090
0 commit comments