File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,8 @@ func CompareDiff(ctx *context.Context) {
381381 }
382382 defer headGitRepo .Close ()
383383
384- if err := parseBaseRepoInfo (ctx , headRepo ); err != nil {
384+ var err error
385+ if err = parseBaseRepoInfo (ctx , headRepo ); err != nil {
385386 ctx .ServerError ("parseBaseRepoInfo" , err )
386387 return
387388 }
@@ -423,6 +424,11 @@ func CompareDiff(ctx *context.Context) {
423424 beforeCommitID := ctx .Data ["BeforeCommitID" ].(string )
424425 afterCommitID := ctx .Data ["AfterCommitID" ].(string )
425426
427+ if ctx .Data ["Assignees" ], err = ctx .Repo .Repository .GetAssignees (); err != nil {
428+ ctx .ServerError ("GetAssignees" , err )
429+ return
430+ }
431+
426432 ctx .Data ["Title" ] = "Comparing " + base .ShortSha (beforeCommitID ) + "..." + base .ShortSha (afterCommitID )
427433
428434 ctx .Data ["IsRepoToolbarCommits" ] = true
You can’t perform that action at this time.
0 commit comments