## Description This fixes the issue where using `this.params` in an IIFE function in API query params showed error. **How does this PR fix the issue?** The PR adds an empty object as `params` in the global `this` context. So that `this.params` doesn't evaluate to `undefined`. Fixes #6732 Media <img width="1182" alt="Screenshot 2023-04-25 at 12 59 36 AM" src="https://user-images.githubusercontent.com/13567359/234096780-661be709-d5fc-40ed-800f-d5014c2da062.png"> ## Type of change - Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? - Cypress ### Test Plan > Add Testsmith test cases links that relate to this PR ### Issues raised during DP testing > Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR) ## Checklist: ### Dev activity - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag ### QA activity: - [ ] Test plan has been approved by relevant developers - [x] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [x] Added Test Plan Approved label after reveiwing all Cypress test |
||
|---|---|---|
| .. | ||
| ActionExecution | ||
| AdminSettings | ||
| AppNavigation | ||
| AuditLogs | ||
| Autocomplete | ||
| Binding | ||
| Branding | ||
| BugTests | ||
| CodeComment | ||
| DynamicHeight | ||
| EmbedSettings | ||
| ExplorerTests | ||
| FormNativeToRawTests | ||
| Git | ||
| Github | ||
| IDE | ||
| JSLibrary | ||
| JSObject | ||
| Linting | ||
| MobileResponsiveTests | ||
| Onboarding | ||
| OtherUIFeatures | ||
| PeekOverlay | ||
| PropertyPane | ||
| Refactoring | ||
| SettingsPane | ||
| Templates | ||
| ThemingTests | ||
| VisualTests | ||
| Widgets | ||
| Workspace | ||