Skip to content

Conversation

arminpatel
Copy link

@arminpatel arminpatel commented Apr 14, 2024

Issue that this pull request solves

Closes: # (issue number)

Proposed changes

  1. Implementation of FTS
  2. Bug fixes
  3. Forwarding API

Brief description of what is fixed or changed

Types of changes

Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (please describe):

Checklist

Put an x in the boxes that apply

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have created new branch for this pull request
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • My changes does not break the current system and it passes all the current test cases.

Screenshots

No changes in interface

@FusionIIIT-Bot
Copy link
Collaborator

Congratulations for making your first Pull Request at Fusion!! 🎉 Someone from our team will review it soon.

@Priyansh61
Copy link

@arminpatel Can you please complete the PR template?? Help us review the PRs faster.

@arminpatel
Copy link
Author

@arminpatel Can you please complete the PR template?? Help us review the PRs faster.

Done

Comment on lines 50 to 57
if caretaker.exists():
complaints = StudentComplain.get_complaints_by_user(user, 'caretaker')
user_type = 'caretaker'
elif supervisor.exists():
complaints = StudentComplain.get_complaints_by_user(user, 'supervisor')
user_type = 'supervisor'
else:
complaints = StudentComplain.get_complaints_by_user(user, 'student')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please Define the usertype instead of hardcoding them?

return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)

@api_view(['DELETE','PUT'])
@api_view(['DELTE','PUT'])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this Delete

@arminpatel arminpatel requested a review from Priyansh61 April 14, 2024 20:40
@Priyansh61
Copy link

Great Job!!!

@Priyansh61 Priyansh61 merged commit eb8dbc5 into FusionIIIT:gad-3 Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.