Ver a proveniência

Remove isRequired from ResponseBody's `contentType` property as responses without a Content-Type header will not have a value to pass

bubble
Owen Conti há 7 anos
ascendente
cometimento
b2d52e2629
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/core/components/response-body.jsx

+ 1
- 1
src/core/components/response-body.jsx Ver ficheiro

@@ -6,7 +6,7 @@ export default class ResponseBody extends React.Component {

static propTypes = {
content: PropTypes.any.isRequired,
contentType: PropTypes.string.isRequired,
contentType: PropTypes.string,
getComponent: PropTypes.func.isRequired,
headers: PropTypes.object,
url: PropTypes.string


Carregando…
Cancelar
Guardar