Summary
The name has been successfully changed, the API returns the correct code, but the old nickname is still displayed in the profile header. It is only updated after a reload.
Reproduction steps
prerequisites:
Authorization procedure completed
The new entered nickname is not taken
steps:
Open the website https://codebattle.hexlet.io/.
Click on the avatar/nickname icon in the upper right corner.
Click on “Settings”.
Fill in the “Your name” field. Enter new Nickname.
Click the “Save” button.
Expected result
The API returns code 200.
The message “Your settings have been changed” appears.
The user's new nickname is displayed in the upper right corner of the page.
Actual result
The new nickname appears in the website header only after the page is reloaded.
Browsers
Firefox
OS
Mac
Version: 4df7e60