Skip to content

Conversation

@ItsAbhinavM
Copy link
Contributor

Description

Fixes #148

This PR intends to link favorite images of a round with their respective campaigns.
Earlier favorite were associated only with juror and entry, which made it inaccessible in a campaign. campaign_id is now added on each new favorite images. The fave() and unfave() functions have been adjusted accordingly to prevent any cross-campaign-collissions.
In addition active favorites can be now retrieved from campaign.

@ItsAbhinavM
Copy link
Contributor Author

ItsAbhinavM commented Jan 11, 2026

The changes made are purely on backend, but in case if any one wants to add this in front-end for any future works I have also created a jurorService end-point for fetching favorite images.

@ItsAbhinavM
Copy link
Contributor Author

ItsAbhinavM commented Jan 20, 2026

@mahmoud can you review this and tell me whether this requires any more changes?
Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Favorite images should be linked to the campaign

1 participant