Fix issues/pulls dependencies problems (#9842) (#9864)

* Fix issues/pulls dependencies problems

* fix swagger and api param name

* fix js
This commit is contained in:
Lunny Xiao
2020-01-20 01:56:57 +08:00
committed by techknowlogick
parent aa6ed1b7c1
commit 8add1dfacc
8 changed files with 57 additions and 26 deletions

View File

@@ -415,7 +415,7 @@ func CompareDiff(ctx *context.Context) {
if !nothingToCompare {
// Setup information for new form.
RetrieveRepoMetas(ctx, ctx.Repo.Repository)
RetrieveRepoMetas(ctx, ctx.Repo.Repository, true)
if ctx.Written() {
return
}