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