1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 10:18:38 +00:00

Allow externalID to be UUID (#8551) (#8624)

Signed-off-by: Wenxuan Zhao <viz@linux.com>
This commit is contained in:
guillep2k
2019-10-22 05:12:10 -03:00
committed by zeripath
parent ccf5298a2c
commit 0032278a46
6 changed files with 6 additions and 16 deletions

View File

@@ -1025,7 +1025,7 @@ func FetchCodeComments(issue *Issue, currentUser *User) (CodeComments, error) {
}
// UpdateCommentsMigrationsByType updates comments' migrations information via given git service type and original id and poster id
func UpdateCommentsMigrationsByType(tp structs.GitServiceType, originalAuthorID, posterID int64) error {
func UpdateCommentsMigrationsByType(tp structs.GitServiceType, originalAuthorID string, posterID int64) error {
_, err := x.Table("comment").
Where(builder.In("issue_id",
builder.Select("issue.id").