- commit
- aa63be4
- parent
- 7c1cc00
- author
- Eric Bower
- date
- 2024-01-13 01:07:40 +0000 UTC
chore: suspend querying sr.ht until they back up
1 files changed,
+5,
-1
+5,
-1
1@@ -58,6 +58,10 @@ async function processResources(resources: Resource[]) {
2 const d = resources[i];
3
4 if (d.type === "srht") {
5+ continue;
6+ /*
7+ 01/12/2024 - SUSPENDING until sr.ht is back online
8+
9 const result = await fetchSrhtData({ ...d, token: srhtToken });
10 const id = getResourceId(d);
11 if (!result.ok) {
12@@ -79,7 +83,7 @@ async function processResources(resources: Resource[]) {
13 createdAt: repo.created,
14 updatedAt: repo.updated,
15 branch: result.data.branch,
16- });
17+ });*/
18 } else if (d.type === "github") {
19 const result = await fetchGithubData({ ...d, token: ghToken });
20 if (!result.ok) {