BioDrop
BioDrop copied to clipboard
move premium check to middleware
Fixes Issue
Closes #9630
Changes proposed
Update JWT, refactor middleware.js, remove premium checks in getServerSideProps and move them to middleware.js
Check List (Check all the applicable boxes)
- [x] My code follows the code style of this project.
- [ ] My change requires changes to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] All new and existing tests passed.
- [x] This PR does not contain plagiarized content.
- [x] The title of my pull request is a short description of the requested changes.
Thank you for making the changes. Could you check your Prettier settings, it looks like extra lines are being reformatted, which makes it more difficult to review "actual" changes
I'm apologizing for the issue with prettier, it should be fixed now
I'm apologizing for the issue with prettier, it should be fixed now
thank you 👍 sorry for my slow reply, I will be looking at this PR next
I can fix the conflicts, as it has conflicted with my changes