diff options
author | Marvin Borner | 2021-03-05 20:32:28 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-05 20:32:28 +0100 |
commit | 550af931488494a2a0477dca0ad8b6644143fce2 (patch) | |
tree | d8efac7707b99a1bbc88effb0a27b23609594b3a /cli.js | |
parent | 0780898e8a99266112b077c9a88edafc99cdd9fe (diff) |
OKAY!
Diffstat (limited to 'cli.js')
-rwxr-xr-x | cli.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,7 +100,7 @@ if ((idx = params.indexOf("-r")) > -1) { const chars = user.chars; hay = curr; const obj = { - id: user.id, // Why tf tho + id: user.id, name: `${user.name} ${user.middlename || ""} ${user.surname}`, birthday: answer("Geburtsdatum"), favsub: answer("Lieblingsfach"), @@ -115,7 +115,7 @@ if ((idx = params.indexOf("-r")) > -1) { obj.birthday = new Date(obj.birthday == "nichts" ? "1.1.2000" : obj.birthday).toLocaleDateString("de"); - // QR-Code.. DON'T ASK + // QR-Code.. DON'T ASK TODO: Fix for last student? hay = next; obj.qrcode = answer("QR-Code Text (z.B. Social Media Links, random Text, whatever)").replace(/ /g, "\\ "); if (obj.qrcode === "nichts") obj.qrcode = ""; |