fix: Add assignment reason for round robin reassignments (#19199)
* Add `RR_REASSIGNED` to schema * Handle recording reassigned manual vs rr * Pass manual assignment prop to `AssignmentReasonRecorder` * Add log to determine who is doing the reassignment * RR reassign - add initializing log * Record assignment reason when reassigning via rr * Add `reassignedById` in trpc endpoint * Add `reassignedById` param in api v2 endpoint * Migration to add `RR_REASSIGNED`
This commit is contained in:
1 parent
e215786afb
commit
122af4538d
8 files changed
+42
-4
No files matched your search
@@ -38,7 +38,7 @@
|
||||
"@axiomhq/winston": "^1.2.0",
|
||||
"@calcom/platform-constants": "*",
|
||||
"@calcom/platform-enums": "*",
|
||||
"@calcom/platform-libraries": "npm:@calcom/[email protected]2",
|
||||
"@calcom/platform-libraries": "npm:@calcom/[email protected]6",
|
||||
"@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]",
|
||||
"@calcom/platform-types": "*",
|
||||
"@calcom/platform-utils": "*",
|
||||
|
||||
@@ -448,6 +448,7 @@ export class BookingsService_2024_08_13 {
|
||||
orgId: profile?.organizationId || null,
|
||||
emailsEnabled,
|
||||
platformClientParams,
|
||||
reassignedById: requestUser.id,
|
||||
});
|
||||
|
||||
const reassigned = await this.bookingsRepository.getByUidWithUser(bookingUid);
|
||||
|
||||
Reference in new issue
Block a user