Preparation for ENG-9526.
Replaced direct calls of fetch() with a dedicated function. It makes it easier to handle specific response code for invalid CSAT.
Details
Details
- Reviewers
kamil varun ashoat - Commits
- rCOMMa53b50ff3481: [lib] Extract function to download blob
Flow, eslint, manual testing
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/utils/blob-service.js | ||
---|---|---|
92 ↗ | (On Diff #45924) | Inputs should (usually) be read-only |
lib/utils/blob-service.js | ||
---|---|---|
92 ↗ | (On Diff #45924) | They're intentionally not read-only because fetch doesn't accept them this way, |
lib/utils/blob-service.js | ||
---|---|---|
92 ↗ | (On Diff #45924) | Thanks for explaining! |