[go: nahoru, domu]

Skip to content

Commit

Permalink
Updating database ref method to pass included path param.
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinsingla authored and n3n committed Jun 17, 2020
1 parent b76cc21 commit b6701db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/firebase-admin-database.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class FirebaseDatabaseService implements admin.database.Database {
return this.database.goOnline();
}
ref(path?: string | admin.database.Reference): admin.database.Reference {
return this.database.ref();
return this.database.ref(path);
}
refFromURL(url: string): admin.database.Reference {
return this.database.refFromURL(url);
Expand Down

0 comments on commit b6701db

Please sign in to comment.