Skip to content

Commit

Permalink
Merge pull request #115 from yeatmanlab/enh/restConfig-as-getter
Browse files Browse the repository at this point in the history
Change restConfig to getter
  • Loading branch information
richford committed May 22, 2024
2 parents ec6c588 + 7d4356a commit 31a2694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firestore/firekit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ export class RoarFirekit {
return this._idTokens;
}

restConfig() {
public get restConfig() {
return {
admin: {
headers: { Authorization: `Bearer ${this._idTokens.admin}` },
Expand Down

0 comments on commit 31a2694

Please sign in to comment.