@bbc/http-transport
Advanced tools
Comparing version 3.5.7-3 to 4.0.0-0
@@ -68,3 +68,3 @@ 'use strict'; | ||
to.body = await from.json(); | ||
} else if (contentType?.includes('text')) { | ||
} else { | ||
to.body = await from.text(); | ||
@@ -71,0 +71,0 @@ } |
{ | ||
"name": "@bbc/http-transport", | ||
"version": "3.5.7-3", | ||
"version": "4.0.0-0", | ||
"description": "A flexible, modular REST client built for ease-of-use and resilience.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
380538