Page MenuHomePhabricator

[keyserver] moving getting neynar config to function
ClosedPublic

Authored by will on Oct 20 2024, 10:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 12:36 AM
Unknown Object (File)
Fri, Nov 29, 5:04 AM
Unknown Object (File)
Fri, Nov 29, 1:09 AM
Unknown Object (File)
Thu, Nov 28, 11:17 PM
Unknown Object (File)
Thu, Nov 28, 11:15 PM
Unknown Object (File)
Thu, Nov 28, 10:58 PM
Unknown Object (File)
Thu, Nov 28, 2:59 PM
Unknown Object (File)
Thu, Nov 28, 7:49 AM
Subscribers

Details

Summary

In the next diff, verifying the webhook event will require the webhook secret introduced in D13701. Moving grabbing the neynar config to a function to reduce code duplication

Depends on D13841

Test Plan

Later used in a future diff which successfully grabs the webhook secret

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

will requested review of this revision.Oct 20 2024, 10:17 PM
ashoat added inline comments.
keyserver/src/utils/fc-cache.js
18–23 ↗(On Diff #45285)

I wonder if this should be moved to a separate file. It doesn't really have to do with the FC cache

This revision is now accepted and ready to land.Oct 21 2024, 8:54 AM
keyserver/src/utils/fc-cache.js
18–23 ↗(On Diff #45285)

I think that makes sense. Decided to move it to a new file keyserver/src/utils/neynar-utils.js

move getNeynarConfig to own file