-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/hash check endpoint #95
Conversation
d788cff
to
e5a3299
Compare
e5a3299
to
10953f7
Compare
3e4ca77
to
9294c4a
Compare
7c528a5
to
45dbb7b
Compare
django/university/urls.py
Outdated
@@ -9,6 +9,7 @@ | |||
path('course_unit/<int:course_unit_id>/', views.course_unit_by_id), | |||
path('class/<int:course_unit_id>/', views.classes), | |||
path('professors/<int:slot>/', views.professor), | |||
path('info/', views.info) | |||
path('info/', views.info), | |||
path('course_unit/validate', views.verify_course_units) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You had the name of the url right at the first time 🥲 prior to my suggestion of changing it to course_unit/validate
. Meanwhile, the logic changed and the endpoint only returns hashes so maybe it should be course_unit/hash
, what do you think? If so, the name of the function in views.py
should also be changed to get_course_unit_hashes
maybe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes now that the function of the endpoint changed that name makes more sense, thanks for pointing that out
914b2b2
to
8e68d6f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
closes #92
As requested in the issue description, I implemented: