You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`❌ An error occurred: Unexpected action type "${firstAction.action_id}". Please contact the software team.`
56
+
`❌ An error occurred: Missing or invalid reimbursement request ID.\n\n*Parsed value:*\n\`\`\`${actionValueStr}\`\`\`\n\nPlease contact the software team.`
40
57
);
41
58
return;
42
59
}
43
60
61
+
// Extract validated fields
62
+
constuserSlackId=user.id;
63
+
const{ reimbursementRequestId }=actionValue;
64
+
65
+
// Pass the extracted fields to the service layer for business logic
`❌ An unexpected error occurred while processing your request.\n\n*Error message:* ${errorMessage}\n\nPlease contact the software team and provide them with this information.`
`❌ An error occurred: Invalid action data format.\n\n*Error:* ${parseErrorMsg}\n*Value:* \`${firstAction.value}\`\n\nPlease contact the software team.`
99
+
`❌ An error occurred: Invalid action data format.\n\n*Error:* ${parsed.error}\n*Value:* \`${firstAction.value}\`\n\nPlease contact the software team.`
54
100
);
55
101
return;
56
102
}
103
+
constactionValue=parsed.data;
57
104
58
-
// Validate that reimbursementRequestId exists in the parsed value
0 commit comments