BinaryStudioAcademy / bsa-2023-towhub

1 stars 12 forks source link

Bug: The driver's avatar is not saved after the download on the Edit profile page #394

Closed OlenaCherneta closed 11 months ago

OlenaCherneta commented 11 months ago

Preconditions:

User is logged in as driver

Steps to reproduce:

  1. Open the Profile page
  2. Download or update the driver avatar
  3. Click the Save button
  4. Reload the page and open the Profile page
  5. Pay attention to the avatar

Actual result

The driver's avatar is not saved after the download on the Edit profile page. Error message “Cannot read properties of undefined (reading 'Symbol(Symbol.asyncIterator)')” appears.

Expected result

The driver's avatar is saved after the download on the Edit profile page

Environment:

Windows 10 Pro x64, Firefox 117.0.1

Attachment (see below)

https://github.com/BinaryStudioAcademy/bsa-2023-towhub/assets/75045481/7f413ec4-5bec-4e2c-84a9-4c89b093d065