mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-19 04:33:28 +02:00
fix syntax
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
// or nil
|
||||
func (t Transitions) Find(name string) *Transition {
|
||||
name = strings.ToLower(name)
|
||||
matches := []Transitions{}
|
||||
matches := Transitions{}
|
||||
for _, trans := range t {
|
||||
if strings.ToLower(trans.Name) == name {
|
||||
return trans
|
||||
|
||||
Reference in New Issue
Block a user