MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / listUsernames

Function listUsernames

bin/lib/invalidUsernames.mjs:90–95  ·  view source on GitHub ↗
(usernames)

Source from the content-addressed store, hash-verified

88}
89
90function listUsernames (usernames) {
91 if (usernames.length === 0) {
92 return console.info('No invalid usernames was found')
93 }
94 console.info(`${usernames.length} invalid usernames were found:${usernames.map(username => `\n- ${username}`)}`)
95}
96
97async function notifyUsers (usernames, accountManager, config) {
98 const twoWeeksFromNow = Date.now() + 14 * 24 * 60 * 60 * 1000

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected