Page MenuHomePhabricator

[lib] Extract function to assign holder
ClosedPublic

Authored by bartek on Nov 18 2024, 6:52 AM.
Tags
None
Referenced Files
F3517044: D13959.id.diff
Sun, Dec 22, 4:10 PM
Unknown Object (File)
Wed, Dec 18, 5:06 PM
Unknown Object (File)
Wed, Dec 18, 4:12 PM
Unknown Object (File)
Mon, Dec 16, 4:58 PM
Unknown Object (File)
Mon, Dec 16, 11:32 AM
Unknown Object (File)
Mon, Dec 16, 2:22 AM
Unknown Object (File)
Mon, Dec 16, 2:22 AM
Unknown Object (File)
Sun, Dec 15, 1:42 AM
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.