zhusiqing %!s(int64=5) %!d(string=hai) anos
pai
achega
8f0e02b872
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      server.js

+ 3 - 1
server.js

@@ -178,7 +178,9 @@ router.post('/reviews', ctx => {
     if (STATIC_DATA.indexOf(el) !== -1) {
       return true
     }
-    noExist.push(el)
+    if (el) {
+      noExist.push(el)
+    }
     return false
   })
   try {