mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add [] to the labels in csv
This commit is contained in:
parent
0204e27aee
commit
9a46e935d9
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ export function integrationsServiceRouter() {
|
|||
// write the list of urls, state and labels to the stream
|
||||
const csvData = retrievedData.map((page) => {
|
||||
const { url, state, labels } = page
|
||||
return [url, state, labels?.join(',')].join(',')
|
||||
return [url, state, `[${labels?.join(',') || ''}]`].join(',')
|
||||
})
|
||||
writeStream.write(csvData.join('\n'))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue