Skip to content

Commit

Permalink
feat: add ability to specify custom headers for individual RPC types (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Nov 5, 2020
1 parent 7223281 commit 0900379
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,7 @@ export class Firestore implements firestore.Firestore {
headers: {
[CLOUD_RESOURCE_HEADER]: this.formattedName,
...this._settings.customHeaders,
...this._settings[methodName]?.customHeaders,
},
},
};
Expand Down

0 comments on commit 0900379

Please sign in to comment.