Skip to content

Commit

Permalink
Fixes query
Browse files Browse the repository at this point in the history
  • Loading branch information
richmahn committed Jul 11, 2024
1 parent bc776ee commit 469a706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/door43metadata/door43metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ func UpdateUserMetadata(ctx context.Context) error {

var users []*user_model.User
err := db.GetEngine(ctx).
Select("`user`.*").
Join("INNER", "repository", "`repository`.owner_id = `user`.id").
Join("INNER", "door43_metadata", "`door43_metadata`.repo_id = `repository`.id").
GroupBy("`user`.id").
Expand Down

0 comments on commit 469a706

Please sign in to comment.