Skip to content

Commit

Permalink
See claims bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aunefyren committed Nov 23, 2023
1 parent 943ac25 commit 7d5e24c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions controllers/wishcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ func ConvertWishToWishObject(wish models.Wish, requestUserID *uuid.UUID) (models
wishclaimobject = []models.WishClaimObject{}
}

if wishlistOwnerUser.ID == *requestUserID {
wishclaimobject = []models.WishClaimObject{}
}

for _, wishCollaborator := range wishlistCollabObjects {
if wishCollaborator.User.ID == *requestUserID {
wishclaimobject = []models.WishClaimObject{}
Expand Down

0 comments on commit 7d5e24c

Please sign in to comment.