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
1 changed files with 2 additions and 3 deletions

View File

@ -106,7 +106,6 @@ func ToBranch(ctx context.Context, repo *repo_model.Repository, branchName strin
return branch, nil
}
// 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 {
whitelistUserIDsSet := container.SetOf(whitelistIDs...)