mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 16:26:50 +00:00
Add aliases to team
This commit is contained in:
@@ -34,6 +34,11 @@ const json2xmlOpts = {
|
||||
indentBy: ' '
|
||||
}
|
||||
|
||||
Object.values(team).forEach(member => {
|
||||
const alias = member.name.toLowerCase()
|
||||
if (!team[alias]) team[alias] = member
|
||||
})
|
||||
|
||||
const parser = new XMLParser(xml2jsonOpts, true)
|
||||
const builder = new XMLBuilder(json2xmlOpts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user