-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: LivechatSessionTaken
webhook event called without agent
param
#33209
Conversation
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 57c126c The changes in this PR will be included in the next version bump. This PR includes changesets to release 28 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #33209 +/- ##
===========================================
- Coverage 59.85% 59.84% -0.01%
===========================================
Files 2554 2554
Lines 63008 63105 +97
Branches 14129 14146 +17
===========================================
+ Hits 37711 37766 +55
- Misses 22890 22924 +34
- Partials 2407 2415 +8
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way of adding tests? Just saw the description
Can we get an update on this? |
|
Proposed changes (including videos or screenshots)
Basically, the call to
assignAgent
was updating the room object as expected, but when callingafterTakeInquiry
callback we were passing the room before it was updated.Issue(s)
https://rocketchat.atlassian.net/browse/SUP-654
Steps to test or reproduce
Further comments
I'm planning to spin up a
webhook.test
docker image to test this one but probably in the future 😬