Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Hide response body

Compare
Choose a tag to compare
@taylordowns2000 taylordowns2000 released this 09 Jul 22:17

To work alongside OpenFn.org's new :no_conosle feature, we hide server responses in language-http by default. The response body is added to state (usually in state.data) and can be accessed by console.log(state.data) or in a subsequent job state (from a flow or a timer job) if the project admin allows the use of console.log. This prevents the leakage of sensitive data to those who shouldn't see it but are granted OpenFn.org project access.