1
0
Fork 0

Add SyntheticRequest#database

This commit is contained in:
Alan Plum 2016-04-14 13:53:23 +02:00
parent aaaa3ca8f8
commit 7364c428e7
No known key found for this signature in database
GPG Key ID: 8ED72A9A323B6EFD
1 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,10 @@ module.exports = class SyntheticRequest {
// idiosyncratic
get database() {
return this._raw.database;
}
params(name) {
if (hasOwnProperty.call(this.pathParams, name)) {
return this.pathParams[name];