1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 12:14:25 +00:00

Make format

This commit is contained in:
Henry Goodman 2024-04-19 20:51:13 +10:00
parent a4d344c5b8
commit d038bc5676
No known key found for this signature in database
GPG Key ID: 72E678A2D98E1D54

View File

@ -106,7 +106,6 @@ func ToBranch(ctx context.Context, repo *repo_model.Repository, branchName strin
return branch, nil return branch, nil
} }
// getWhitelistEntities returns the names of the entities that are in the whitelist // getWhitelistEntities returns the names of the entities that are in the whitelist
func getWhitelistEntities[T *user_model.User | *organization.Team](entities []T, whitelistIDs []int64) []string { func getWhitelistEntities[T *user_model.User | *organization.Team](entities []T, whitelistIDs []int64) []string {
whitelistUserIDsSet := container.SetOf(whitelistIDs...) whitelistUserIDsSet := container.SetOf(whitelistIDs...)