Skip to content

Commit

Permalink
feat: Expose databaseId and projectId getter on Firestore class (#1937)
Browse files Browse the repository at this point in the history
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a [bug/issue](https://togithub.com/googleapis/nodejs-firestore/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #1936
  • Loading branch information
IchordeDionysos committed Dec 21, 2023
1 parent 2e4e83d commit d9c867f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dev/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -773,9 +773,6 @@ export class Firestore implements firestore.Firestore {

/**
* Returns the Database ID for this Firestore instance.
*
* @private
* @internal
*/
get databaseId(): string {
return this._databaseId || DEFAULT_DATABASE_ID;
Expand Down

0 comments on commit d9c867f

Please sign in to comment.