Skip to content

Commit

Permalink
Update generate-users-csv.js
Browse files Browse the repository at this point in the history
Add `fullname`, `email` to the fields
  • Loading branch information
binokaryg authored Sep 20, 2024
1 parent 8e61099 commit 15f8a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/generate-users-csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fs = require('./sync-fs');
const info = require('./log').info;

module.exports = (data, csvPath) => {
const fields = ['username', 'password', 'roles', 'contact', 'phone', 'place'];
const fields = ['username', 'password', 'roles', 'contact', 'phone', 'place', 'fullname', 'email'];
const json2csvParser = new Json2csvParser({
fields,
doubleQuote: '\'',
Expand Down

0 comments on commit 15f8a6c

Please sign in to comment.