Commit d35904d
Updating frontend assets to add header for open-in-editor sources panel devtools button (#54927)
Summary:
Updating front end assets for react/react-native-devtools-frontend#229
The "Open in Editor" button in the Sources tab was failing with a 400 Bad Request error. This was because the openStackFrameInEditor request was missing the Content-Type header. Added the appropriate content type header to fix the request.
## Changelog:
[GENERAL] [INTERNAL] - Fix "Open in Editor" button in Sources tab returning 400 Bad Request
Pull Request resolved: #54927
Test Plan:
Open React Native DevTools
Go to Sources tab
Click "Open in Editor" button on a stack frame
Verify the file opens in the editor without a 400 error
Reviewed By: vzaidman
Differential Revision: D89464184
Pulled By: emily8rown
fbshipit-source-id: 27190e05e11d96bdd9982a4e057c3ef225975bc41 parent 33b2d6d commit d35904d
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments