Skip to content

Commit abae2d8

Browse files
committed
Correcting mistake from rebase
1 parent 2ee6bd0 commit abae2d8

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

index.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,16 @@ request.defaults = function (options, requester) {
129129
}
130130
}
131131

132-
defaults = wrap(this)
133-
defaults.get = wrap(this.get)
134-
defaults.patch = wrap(this.patch)
135-
defaults.post = wrap(this.post)
136-
defaults.put = wrap(this.put)
137-
defaults.head = wrap(this.head)
138-
defaults.del = wrap(this.del)
139-
defaults.cookie = wrap(this.cookie)
140-
defaults.jar = this.jar
132+
defaults = wrap(this)
133+
defaults.get = wrap(this.get)
134+
defaults.patch = wrap(this.patch)
135+
defaults.post = wrap(this.post)
136+
defaults.put = wrap(this.put)
137+
defaults.head = wrap(this.head)
138+
defaults.del = wrap(this.del)
139+
defaults.cookie = wrap(this.cookie)
140+
defaults.jar = this.jar
141+
defaults.defaults = this.defaults
141142
return defaults
142143
}
143144

0 commit comments

Comments
 (0)