-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Added EmergencyContact entity and CRUD for it #48
base: develop
Are you sure you want to change the base?
Added EmergencyContact entity and CRUD for it #48
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/code4ro/next-door/pbg2b3zwm |
api/src/main/java/com/code4ro/nextdoor/emergency/contact/entity/EmergencyContact.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/code4ro/nextdoor/emergency/contact/dto/EmergencyContactDto.java
Outdated
Show resolved
Hide resolved
@PostMapping | ||
@ApiOperation(value = "Saves an Emergency Contact") | ||
public ResponseEntity<EmergencyContactDto> save(@RequestBody EmergencyContactDto emergencyContactDto) { | ||
final EmergencyContactDto savedEmergencyContact = |
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.
if you device do add finals add them everywhere otherwise it's just noise
What does it fix?
#31
#30
How has it been tested?
Tested locally all endpoints.