Website Summary Files Commits Branches @commit @diff @stats
path: root / src / app / components
diff options
context:
space:
mode:
Commitab8122e2cbeefe55b7dca1aeeb1cbaf830ed25b5 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-03-29 15:46:25 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-03-29 15:46:25 +0300
Filesd56d980c8bef9e96e83ae43c321612e7f5301bbd /src/app/components
DevHive-Angular-ab8122e2cbeefe55b7dca1aeeb1cbaf830ed25b5.tar
DevHive-Angular-ab8122e2cbeefe55b7dca1aeeb1cbaf830ed25b5.tar.gz
DevHive-Angular-ab8122e2cbeefe55b7dca1aeeb1cbaf830ed25b5.zip
Parentbcba82bbbcc55a511de1e126e0741ea6cf9fb505 (diff)
Fixed update user request in service and in profile settings
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/app/components/profile-settings/profile-settings.component.ts2
diff --git a/src/app/components/profile-settings/profile-settings.component.ts b/src/app/components/profile-settings/profile-settings.component.ts
index 4724f02..78a57ec 100644
--- a/src/app/components/profile-settings/profile-settings.component.ts
+++ b/src/app/components/profile-settings/profile-settings.component.ts
@@ -201,7 +201,7 @@ export class ProfileSettingsComponent implements OnInit {
this.patchLanguagesControl();
this.patchTechnologiesControl();
- this._userService.putUserFromSessionStorageRequest(this.updateUserFormGroup, this.user.roles, this.user.friends).subscribe({
+ this._userService.putUserFromSessionStorageRequest(this.updateUserFormGroup, this.chosenLanguages, this.chosenTechnologies, this.user.roles, this.user.friends).subscribe({
next: () => {
this._successBar.showMsg('Profile updated successfully!');