-
-
Save Ashoat/f07fc27a8fe4c456fd5d675a802b3cad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/keyserver/src/fetchers/thread-fetchers.js b/keyserver/src/fetchers/thread-fetchers.js | |
index 427b38c41..64579b264 100644 | |
--- a/keyserver/src/fetchers/thread-fetchers.js | |
+++ b/keyserver/src/fetchers/thread-fetchers.js | |
@@ -1,5 +1,7 @@ | |
// @flow | |
+import fs from 'fs/promises'; | |
+ | |
import { getAllThreadPermissions } from 'lib/permissions/thread-permissions.js'; | |
import { | |
rawThreadInfoFromServerThreadInfo, | |
@@ -113,6 +115,7 @@ async function fetchServerThreadInfos( | |
} | |
} | |
+ await fs.writeFile('/Users/ashoat/test_separate_queries.json', JSON.stringify(threadInfos, null, 2)); | |
return { threadInfos }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment