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

Fix redis key #300

Open AllisonBC opened 3 years ago

AllisonBC commented 3 years ago

Closes (https://github.com/North-Seattle-College/ad440-winter2021-thursday-repo/issues/299)

Description: Redis key was incorrectly implemented for functions\HttpTriggerAPIUsersIdinit.py Should be "users:{userId}" not "users:all"

To Test: (VS Code Azure Cache extension required.)

  1. Run debugger and do a GET request for userid 10.
  2. Check the cache to see that it's correctly implemented. Ex: image

Additional context: Discovered in (#280)