ucsb-cs156-s21 / proj-ucsb-cs-las

https://proj-ucsb-cs-las.herokuapp.com/
MIT License
2 stars 3 forks source link

6pm-3 Bug fix, backend was doubling entries to database; removed that issue #316

Closed mpbonham closed 3 years ago

mpbonham commented 3 years ago

Changed list to set in the @getMapping in TutorNotesContoller.java. This makes it so that when a tutor admin attempts to create and entry it will no longer create two entries. Allows for a TutorNote to be made by a tutor and admin without any bugss. This should prevent duplicate entries when using the api/member/tutorNotes

codecov[bot] commented 3 years ago

Codecov Report

Merging #316 (2d9cc26) into main (16e4cdf) will decrease coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #316      +/-   ##
============================================
- Coverage     99.69%   99.69%   -0.01%     
  Complexity      439      439              
============================================
  Files           107      107              
  Lines          2304     2303       -1     
  Branches        104      104              
============================================
- Hits           2297     2296       -1     
  Misses            7        7              
Impacted Files Coverage Δ
...sb/ucsbcslas/controllers/TutorNotesController.java 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 16e4cdf...2d9cc26. Read the comment docs.

github-actions[bot] commented 3 years ago

Nice PR! Your PR can be merged once you get an approving review from a staff member and a member of your team.

Keep in mind, code reviews only count if you use the "Approve" or "Request changes" option in GitHub. You can find this under the "Files changed" tab under the "Review changes" button.

PR review process

Generated by :no_entry_sign: dangerJS against 2d9cc262670f56513c908e9c720768c980ef5dbb