浏览代码

queries: jstats url

Joystream Stats 2 年之前
父节点
当前提交
471a2b847b
共有 1 个文件被更改,包括 4 次插入4 次删除
  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) => {