diff --git a/nest-bot/src/util/populate_users.ts b/nest-bot/src/util/populate_users.ts index 78942c9..cc6b02d 100644 --- a/nest-bot/src/util/populate_users.ts +++ b/nest-bot/src/util/populate_users.ts @@ -37,6 +37,7 @@ export default async function populate_users() { tilde_username: user.username, description: "Added by populate_users function", is_approved: true, + ssh_public_key: "None", }, }); reqs.push(dbReq); diff --git a/nest-bot/src/views/edit_email.ts b/nest-bot/src/views/edit_email.ts index 7e61f87..57d410a 100644 --- a/nest-bot/src/views/edit_email.ts +++ b/nest-bot/src/views/edit_email.ts @@ -35,13 +35,7 @@ export function edit_email(app: Slack.App) { await client.views.publish({ user_id: body.user.id, - view: approved_home( - user.name!, - user.tilde_username, - user.email!, - user.ssh_public_key, - shell, - ), + view: approved_home(user.name!, user.tilde_username, user.email!, shell), }); }); } diff --git a/nest-bot/src/views/edit_full_name.ts b/nest-bot/src/views/edit_full_name.ts index d2f8967..14872c6 100644 --- a/nest-bot/src/views/edit_full_name.ts +++ b/nest-bot/src/views/edit_full_name.ts @@ -21,13 +21,7 @@ export function edit_full_name(app: Slack.App) { await client.views.publish({ user_id: body.user.id, - view: approved_home( - user.name!, - user.tilde_username, - user.email!, - user.ssh_public_key, - shell, - ), + view: approved_home(user.name!, user.tilde_username, user.email!, shell), }); }); } diff --git a/nest-bot/src/views/edit_shell.ts b/nest-bot/src/views/edit_shell.ts index 05c662c..4e54b05 100644 --- a/nest-bot/src/views/edit_shell.ts +++ b/nest-bot/src/views/edit_shell.ts @@ -76,13 +76,7 @@ export function edit_shell(app: Slack.App) { await client.views.publish({ user_id: body.user.id, - view: approved_home( - name!, - tilde_username!, - email!, - ssh_public_key!, - shell!, - ), + view: approved_home(name!, tilde_username!, email!, shell!), }); }); }