Optimize reading gist files content (#186)

This commit is contained in:
Thomas Miceli
2023-12-30 23:46:14 +01:00
parent f557bd45df
commit b3a856a05e
6 changed files with 130 additions and 14 deletions

View File

@ -704,7 +704,7 @@ func downloadZip(ctx echo.Context) error {
gist := getData(ctx, "gist").(*db.Gist)
revision := ctx.Param("revision")
files, err := gist.Files(revision, true)
files, err := gist.Files(revision, false)
if err != nil {
return errorRes(500, "Error fetching files from repository", err)
}