untrap-mcp 0.4.12 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,7 @@ export async function suggestTechnicianImprovement(mspId, params) {
|
|
|
11
11
|
WHERE msp_id = $1 AND LOWER(technician_name) = LOWER($2)
|
|
12
12
|
ORDER BY calculation_date DESC
|
|
13
13
|
LIMIT 1`, [mspId, params.technicianName], mspId),
|
|
14
|
-
queryRLS(`SELECT tns.
|
|
14
|
+
queryRLS(`SELECT tns.sentiment_score, tns.experience_score, tns.note_count
|
|
15
15
|
FROM ticket_notes_sentiment tns
|
|
16
16
|
JOIN ticket_lifecycle tl ON tl.msp_id = tns.msp_id AND tl.ticket_id = tns.ticket_id
|
|
17
17
|
WHERE tns.msp_id = $1 AND LOWER(tl.owner_name) = LOWER($2)
|