nits to improve git backend (#7)

This commit is contained in:
6543
2023-04-16 16:14:12 +02:00
committed by GitHub
parent 31aae8a305
commit 19db4c223b
3 changed files with 7 additions and 5 deletions

View File

@ -178,7 +178,7 @@ func revisions(ctx echo.Context) error {
pageInt := getPage(ctx)
commits, err := gist.Log(strconv.Itoa((pageInt - 1) * 10))
commits, err := gist.Log((pageInt - 1) * 10)
if err != nil {
return errorRes(500, "Error fetching commits log", err)
}