0

I have data in rethinkdb as following: enter image description here

but now when I do this:

await axios.post(config.baseURL + '/save-menu', {
  filename: rawConfigs[0].repoSettings[0].BaseURL + '/public/log.md' ,
  text:JSON.stringify(job.log),
  type: 'file'
  }).catch((e) => {
   console.log(e)
  )

The result is stored as this: enter image description here

I want it as pretty as it looks in rethinkdb.

Gaurav Kumar
  • 55
  • 15

0 Answers0