-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make officers
module more DRY
#94
Conversation
what's going on with the alembic upgrade head check? something with requirements? 😨 |
I noticed it was failing but haven't looked into it yet. It's probably because I modified the existing alembic migration (changing from datetime -> date). I updated the migration directly because I know we haven't deployed the database yet so it's easy to simply reset the db with the most up to date schema without losing any data. This is the last time we get to do that because I'm planning to add the officer data tonight :) |
Hmm but the test runs on an empty db and fresh settings for alembic, which means it can't be created from scratch Regardless I'd like to get this merged ASAP to make sure my FE works with the routes; I'm working on the election term updating feature RN, then next will be an admin page for adding new officers + terms |
BTW, when you use the get officer info route, it returns discord ID, name, and username, but the patch route only takes name (as of what's in main); does ur PR fix that? |
looks like it was due to the github action not our code; lucky!
responded in discord! |
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.
🔥
Close #87
TODO:
see #102 for final changes