zhangchunrui 1 ماه پیش
والد
کامیت
d5b03c5d55
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      index.mjs

+ 2 - 2
index.mjs

@@ -169,8 +169,8 @@ async function processPositions() {
   
   const { records, symbol } = await fetchTopPositions()
   
-  if (records.length === 0) {
-    console.log('获取数据')
+  if (!records) {
+    console.log('获取数据失败')
     return
   }