summaryrefslogtreecommitdiffstats
path: root/server/api/registration.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/api/registration.js')
-rw-r--r--server/api/registration.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/server/api/registration.js b/server/api/registration.js
index 5d161b7..41d5fac 100644
--- a/server/api/registration.js
+++ b/server/api/registration.js
@@ -739,11 +739,8 @@ async function parseHardwareInformation (data) {
/* Contacts */
if (data.contacts && data.contacts.length > 0) {
- for (let contact of data.contacts) {
- client.contacts.push({
- 'firstname': contact.firstname,
- 'lastname': contact.lastname
- })
+ for (let username of data.contacts) {
+ client.contacts.push(username)
}
}