working #31
@@ -84,7 +84,7 @@ export class ResumesEditorComponent {
|
|||||||
resume.accountID = this.auth.loggedInUser.id;
|
resume.accountID = this.auth.loggedInUser.id;
|
||||||
this.http.post("api/resume", resume).subscribe({
|
this.http.post("api/resume", resume).subscribe({
|
||||||
next: data => {
|
next: data => {
|
||||||
this.router.navigate(["/"]);
|
this.router.navigate(["/resumes"]);
|
||||||
},
|
},
|
||||||
error: err => {
|
error: err => {
|
||||||
this.ErrorMsg = err.error;
|
this.ErrorMsg = err.error;
|
||||||
|
|||||||
Reference in New Issue
Block a user