Skip to content

Commit 6a0acd9

Browse files
committed
fix: update schedule scoping from user to organization
Changed the schedule scoping in the schedule utility to use organizationId instead of userId, ensuring that schedules are shared across all owners and admins within the same organization. This aligns with the recent changes to enhance organizational resource management.
1 parent 64a606f commit 6a0acd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/server/src/utils/schedules

packages/server/src/utils/schedules/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const initSchedules = async () => {
1111
server: true,
1212
application: true,
1313
compose: true,
14-
user: true,
14+
organization: true,
1515
},
1616
});
1717

0 commit comments

Comments
 (0)