bounswe / 2021SpringGroup9

This is the project repository for Group 9 of the Project Development in Software Engineering course at Bogazici University. We will plan and develop a software project throughout the semester.
3 stars 1 forks source link

Bugfix on activity stream, image ids problem #584

Closed mertlkn closed 2 years ago

mertlkn commented 2 years ago

Platform information(framework version, IDE version, browser etc.):

  1. Postman

Steps to reproduce the bug:

  1. Send a request to activitystream endpoints, but activitystream should contain an user profile photo log.

Expected result:

Activities are returned.

Actual result:

500 Internal server error.

Screenshot(if applicable):

Error message(if applicable):

500 Internal server error.

Additional notes:

mertlkn commented 2 years ago

This was due to image id's were being considered as user ids. It is now corrected with an if control. PR can be found here