Browse Source

On => Of

pull/3742/head
Kim "BKC" Carlbäcker 8 years ago
parent
commit
341359329a
  1. 6
      models/issue_label.go

6
models/issue_label.go

@ -151,9 +151,9 @@ func GetLabelByID(id int64) (*Label, error) {
return getLabelOfRepoByID(x, 0, id) return getLabelOfRepoByID(x, 0, id)
} }
// GetLabelInRepoByID returns a label by ID in given repository. // GetLabelOfRepoByID returns a label by ID in given repository.
func GetLabelOnRepoByName(repoID int64, labelName string) (*Label, error) { func GetLabelOfRepoByName(repoID int64, labelName string) (*Label, error) {
return getLabelOnRepoByName(x, repoID, labelName) return getLabelOfRepoByName(x, repoID, labelName)
} }
// GetLabelOfRepoByID returns a label by ID in given repository. // GetLabelOfRepoByID returns a label by ID in given repository.

Loading…
Cancel
Save