Explorar o código

queries: jstats url

Joystream Stats %!s(int64=2) %!d(string=hai) anos
pai
achega
471a2b847b
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/lib/queries.ts

+ 4 - 4
src/lib/queries.ts

@@ -73,10 +73,10 @@ export const bootstrap = (save: (key: string, data: any) => {}) => {
     //{ faq: () => getFAQ() },
     //{ reports: () => getReports() },
     { members: () => queryJstats(`/v2/members`) },
-    { proposals: () => queryJstats(`/v1/proposals`) },
-    { posts: () => queryJstats(`/v1/posts`) },
-    { threads: () => queryJstats(`/v1/threads`) },
-    { categories: () => queryJstats(`/v1/categories`) },
+    { proposals: () => queryJstats(`/v2/proposals`) },
+    { posts: () => queryJstats(`/v2/posts`) },
+    { threads: () => queryJstats(`/v2/threads`) },
+    { categories: () => queryJstats(`/v2/categories`) },
     //{ providers: () => getStorageProviders() },
     //{ assets: () => getAssets() },
   ].reduce(async (promise, request) => {