Page MenuHomePhabricator

[lib] Extract function to assign holder
ClosedPublic

Authored by bartek on Nov 18 2024, 6:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 11:44 AM
Unknown Object (File)
Tue, Apr 1, 10:58 AM
Unknown Object (File)
Tue, Apr 1, 8:54 AM
Unknown Object (File)
Tue, Apr 1, 1:41 AM
Unknown Object (File)
Mon, Mar 31, 7:27 AM
Unknown Object (File)
Feb 28 2025, 3:19 AM
Unknown Object (File)
Feb 28 2025, 3:19 AM
Unknown Object (File)
Feb 18 2025, 1:20 PM
Subscribers

Details

Summary

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.

Depends on D13958

Test Plan

Flow, eslint, manual testing

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Nov 21 2024, 4:28 AM
ashoat added inline comments.
keyserver/src/services/blob.js
116 ↗(On Diff #45866)

I'm confused how this wasn't causing ESLint errors earlier

lib/utils/blob-service.js
148 ↗(On Diff #45866)

Inputs should (usually) be read-only

This revision is now accepted and ready to land.Nov 21 2024, 4:45 PM
keyserver/src/services/blob.js
116 ↗(On Diff #45866)
lib/utils/blob-service.js
148 ↗(On Diff #45866)

Thanks for explaining!

This revision was automatically updated to reflect the committed changes.