fixed lint
Signed-off-by: Konrad <konrad@kola-entertainments.de>
This commit is contained in:
parent
cf3988ef52
commit
e1779569f5
|
|
@ -51,7 +51,7 @@ func AddDependency(c *context.Context) {
|
|||
c.Flash.Error(c.Tr("issues.dependency.add_error_same_issue"))
|
||||
} else {
|
||||
|
||||
err, exists := models.CreateIssueDependency(c.User, issue, dep)
|
||||
exists, err := models.CreateIssueDependency(c.User, issue, dep)
|
||||
if err != nil {
|
||||
c.Handle(http.StatusInternalServerError, "CreateOrUpdateIssueDependency", err)
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user