Page MenuHomePhabricator

D11380.diff
No OneTemporary

D11380.diff

diff --git a/native/utils/neynar-utils.js b/native/utils/neynar-utils.js
new file mode 100644
--- /dev/null
+++ b/native/utils/neynar-utils.js
@@ -0,0 +1,12 @@
+// @flow
+
+let neynarKey: ?string = null;
+try {
+ // $FlowExpectedError: file might not exist
+ const { key } = require('../facts/neynar.json');
+ neynarKey = key;
+} catch {
+ console.log('native/facts/neynar.json does not exist.');
+}
+
+export { neynarKey };

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 4:44 PM (21 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576774
Default Alt Text
D11380.diff (430 B)

Event Timeline