1. Chun-Ping Chang
  2. confjoke

Commits

Chun-Ping Chang  committed 6087332

fix query error

  • Participants
  • Parent commits 9b8d62e
  • Branches default

Comments (0)

Files changed (1)

File main.py

View file
     Get JW
     """
     def get(self):
-        data = model.Joke.all();
+        data = model.Joke.all().fetch(5000);
 
         if len(data) > 0:
             dd = []