mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-27 19:15:40 +00:00
use comma deliminator
This commit is contained in:
parent
c41a43d804
commit
0e48256b77
1 changed files with 2 additions and 0 deletions
|
@ -261,7 +261,9 @@ func (ctrl *V1Controller) HandleItemsExport() errchain.HandlerFunc {
|
|||
|
||||
w.Header().Set("Content-Type", "text/tsv")
|
||||
w.Header().Set("Content-Disposition", "attachment;filename=homebox-items.tsv")
|
||||
|
||||
writer := csv.NewWriter(w)
|
||||
writer.Comma = '\t'
|
||||
return writer.WriteAll(csvData)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue