Skip to content

Commit

Permalink
docs(queries.GetProfile): rm ref to old commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince213 committed May 20, 2024
1 parent 957523f commit 89149e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/queries/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,6 @@ func GetProfile(db *gorm.DB, queriedUserID uint, queryingUserID uint) (models.Pr
return models.ProfileResponse{}, err
}

// As written in the previous commit, administrators do not
// have access to the invitation code of users other than themselves.
displayInvitationCode := queryingUserID == queriedUserID
displayReward := queryingUserID == queriedUserID

Expand Down

0 comments on commit 89149e8

Please sign in to comment.