Przeglądaj źródła

fix: getTrendStats send {} to avoid axios stringify undefined

User 2 miesięcy temu
rodzic
commit
250acc8cb5
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      cfc-web/src/api/admin.js

+ 2 - 1
cfc-web/src/api/admin.js

@@ -437,7 +437,8 @@ export function getMembershipStats() {
 export function getTrendStats() {
 export function getTrendStats() {
   return request({
   return request({
     url: '/api/stats/trend',
     url: '/api/stats/trend',
-    method: 'post'
+    method: 'post',
+    data: {}
   })
   })
 }
 }