This commit is contained in:
parent
65171d0bf7
commit
3e0ac8ad78
|
@ -135,7 +135,7 @@ func GetReadmeContents(ctx *context.APIContext) {
|
|||
ref := ctx.Params(":ref")
|
||||
readmePath := "README.md"
|
||||
readmezhPath := ""
|
||||
filesListInterface, err := files_service.GetContentsOrList(ctx, ctx.Repo.Repository, readmePath, ref)
|
||||
filesListInterface, err := files_service.GetContentsOrList(ctx, ctx.Repo.Repository, "", ref)
|
||||
if err != nil {
|
||||
ctx.Error(http.StatusInternalServerError, "GetContentsOrList", err)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue