mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-03 18:48:12 +08:00
fix: got option.body
This commit is contained in:
@@ -76,6 +76,7 @@ const custom = got.extend({
|
||||
],
|
||||
beforeRequest: [
|
||||
(options) => {
|
||||
options.body = options.data;
|
||||
if (options.responseType === 'buffer') {
|
||||
options.encoding = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user