Selaa lähdekoodia

queries: jstats url

Joystream Stats 2 vuotta sitten
vanhempi
commit
471a2b847b
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  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) => {