diff --git a/documentation/migration-guides.md b/documentation/migration-guides.md index 8b6dda0d7..80aded453 100644 --- a/documentation/migration-guides.md +++ b/documentation/migration-guides.md @@ -114,7 +114,7 @@ const gotInstance = got.extend({ response => { const {options} = response.request; if (options.jsonReviver && options.responseType === 'json') { - options.responseType = 'default'; + options.responseType = 'text'; response.body = JSON.parse(response.body, options.jsonReviver); }