North-Seattle-College / ad440-winter2021-thursday-repo

NSC AD 440 Winter 2021 Thursday cohort practicum repo
Apache License 2.0
2 stars 27 forks source link

[Bug] /Users pulling tasks, pagination not working correctly on /users #302

Closed kieranmiguel closed 3 years ago

kieranmiguel commented 3 years ago

Describe the bug /Users page is producing tasks due to a bad sql query, pagination not working correctly on subsequent requests because redis cache key is not being correctly updated To Reproduce Steps to reproduce the behavior:

  1. Query the API mutiple times with cache enabled for bad paginations and tasks instead of users
  2. Query API one time for tasks instead of users

Expected: Different pagination queries return different amounts of users, not tasks