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
refactor: remove some Meteor.bindEnvironment #28822
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #28822 +/- ##
===========================================
+ Coverage 45.39% 45.43% +0.04%
===========================================
Files 728 728
Lines 14202 14202
Branches 2189 2189
===========================================
+ Hits 6447 6453 +6
+ Misses 7448 7445 -3
+ Partials 307 304 -3
Flags with carried forward coverage won't be shown. Click here to find out more. |
apps/meteor/app/cloud/server/functions/getWorkspaceAccessTokenWithScope.js
Outdated
Show resolved
Hide resolved
…ocket.Chat into refactor/remove-meteor-bind
…ocket.Chat into refactor/remove-meteor-bind
@@ -46,6 +46,9 @@ Meteor.startup(function () { | |||
|
|||
const file = await RocketChatFileCustomSoundsInstance.getFileWithReadStream(fileId); | |||
if (!file) { | |||
res.writeHead(404); |
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.
@sampaiodiego I've changed this to a 404 error because it was doing nothing here, leading to a timeout error. I don't think this should be considered a breaking change.
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.
that's great.. we desperately need tests these endpoints =)
edit: oh you did it already! 🎉
…hideSysMes * 'develop' of github.com:RocketChat/Rocket.Chat: (50 commits) fix: application crashing when clicking on "Files" button (#28878) revert: rate limiter bindEnvironment refactor: Changed settings registry's callbacks to work with async functions (#28784) revert: removal of `Meteor.bindEnvironment` on `DDPRateLimiter.addRule` (#28874) chore: Limit 10 usernames on reactions tooltip (#28141) fix: quote line break (#28798) fix: Add function to get installation source (#28806) regression: `fetch` call in `getWorkspaceAccessTokenWithScope` (#28866) fix(docs,readme): use raw image url (#28861) refactor: Make onLicense support async callbacks (#28791) refactor: remove some Meteor.bindEnvironment (#28822) refactor: Move callbacks to ts - 2 (#28771) chore: Update issue_template.md (#28753) fix: Fixed business hours route redirect (#28344) feat: add GA4 support (#28830) chore(deps): Prettier version (#28857) remove meteor.call from server (#28774) refactor: Remove fibers from `linkedin-oauth` (#28779) fix: Invalid JSON in Custom Translations setting crashes the UI (#28600) regression(e2e): Missing private key blocks sending message in encrypted rooms (#28831) ...
Proposed changes (including videos or screenshots)
ARCH-948
Issue(s)
Steps to test or reproduce
Further comments