Skip to content

Commit

Permalink
feat: update rest version for metrics (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
summer-ji-eng authored May 19, 2021
1 parent baa3010 commit 233d6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class GrpcClient {
new GoogleAuth(options as GoogleAuthOptions);
}
this.fallback = options.fallback !== 'rest' ? 'proto' : 'rest';
this.grpcVersion = 'fallback'; // won't be used anywhere but we need it to exist in the class
this.grpcVersion = require('../../package.json').version;
}

/**
Expand Down

0 comments on commit 233d6a7

Please sign in to comment.