Open Studenich opened 9 months ago
# path may vary depends on your base docker image
const faker = require('/usr/local/lib/node_modules/pg-anonymizer/node_modules/faker');
module.exports = {
generateCity: (val) => {
# use faker whatever you want
let city = faker.address.city();
return city.substring(0, 15);
}
};
Trying to send parameter to zipCode function but it can't handle this
Error: faker.address.zipCode('#####') is not a function