Skip to content

Commit

Permalink
added console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
nickchoi10 committed Sep 7, 2022
1 parent 7de421c commit 57c56a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/profile-edit/profile-edit.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class ProfileEditComponent implements OnInit {
updateSqueaker(sendForm: NgForm): void {
const squeakerDTO = new SqueakerDTO(sendForm.value.username, sendForm.value.password, sendForm.value.firstName, sendForm.value.lastName, sendForm.value.email, sendForm.value.profilePic)
this.squeakerService.update(this.currentSqueaker.id, squeakerDTO).subscribe();
console.log(squeakerDTO);
sendForm.control.reset()
}

Expand Down

0 comments on commit 57c56a7

Please sign in to comment.