mirror of
https://github.com/go-gitea/gitea
synced 2024-11-10 12:14:25 +00:00
Make format
This commit is contained in:
parent
a4d344c5b8
commit
d038bc5676
@ -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...)
|
||||||
|
Loading…
Reference in New Issue
Block a user