mirror of
https://github.com/thomiceli/opengist.git
synced 2025-06-22 17:57:58 +02:00
nits to improve git backend (#7)
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user