diff options
| 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 |
| commit | ab8122e2cbeefe55b7dca1aeeb1cbaf830ed25b5 (patch) | |
| tree | d56d980c8bef9e96e83ae43c321612e7f5301bbd /src/app/components | |
| parent | bcba82bbbcc55a511de1e126e0741ea6cf9fb505 (diff) | |
| download | DevHive-Angular-ab8122e2cbeefe55b7dca1aeeb1cbaf830ed25b5.tar DevHive-Angular-ab8122e2cbeefe55b7dca1aeeb1cbaf830ed25b5.tar.gz DevHive-Angular-ab8122e2cbeefe55b7dca1aeeb1cbaf830ed25b5.zip | |
Fixed update user request in service and in profile settings
Diffstat (limited to 'src/app/components')
| -rw-r--r-- | src/app/components/profile-settings/profile-settings.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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!'); |
