Skip to content

Commit

Permalink
fix: js function recievers
Browse files Browse the repository at this point in the history
  • Loading branch information
rutmanz committed Dec 9, 2024
1 parent 21cd911 commit d632519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/departments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export async function updateSlackUsergroups() {
const managers = new Set<string>()
for (const manager_department of await getDepartmentManagers()) {
const department = manager_department.dept
manager_department.managers.forEach(managers.add)
manager_department.managers.forEach((u) => managers.add(u))
const res = await syncUsergroup({
department_id: department.id,
group_id: department.manager_slack_group,
Expand Down

0 comments on commit d632519

Please sign in to comment.