diff --git a/routers/hat/repo/file.go b/routers/hat/repo/file.go index d417542..6a1fead 100644 --- a/routers/hat/repo/file.go +++ b/routers/hat/repo/file.go @@ -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