We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30181d4 commit 8e65572Copy full SHA for 8e65572
routers/repo/issue_dependency.go
@@ -29,6 +29,11 @@ func AddDependency(ctx *context.Context) {
29
return
30
}
31
32
+ if err = issue.LoadRepo(); err != nil {
33
+ ctx.ServerError("LoadRepo", err)
34
+ return
35
+ }
36
+
37
// Redirect
38
defer ctx.Redirect(issue.HTMLURL(), http.StatusSeeOther)
39
@@ -83,6 +88,11 @@ func RemoveDependency(ctx *context.Context) {
83
88
84
89
85
90
91
92
93
94
95
86
96
87
97
ctx.Redirect(issue.HTMLURL(), http.StatusSeeOther)
98
0 commit comments