hfaran / piazza-api

Unofficial Client for Piazza's Internal API
https://hfaran.github.io/posts/reverse-engineering-piazzas-api/
MIT License
186 stars 55 forks source link

fix: content_get only fetchs info available to student #58

Closed developStorm closed 12 months ago

developStorm commented 1 year ago

This function currently fails to get the uid of anonymous students, which seems to be a bug?

hfaran commented 1 year ago

I missed this PR earlier. Is this behavior with passing null here still correct and desirable? Can you clarify what happens if you pass "false" vs. passing null?

developStorm commented 12 months ago

This still seems to be the official way of doing it and is desirable. Tested on piazza.com:

image

Passing non-null value cause account with TA-permission not able to see uid of anonymous students (as it is in the "student view")