Callback connect.query

async function view_department() { let department = await inquirer.prompt(department_questions); get_query(“department”, “name”, department.choices, function (data) { …