From be7e9ab385bfbf8833efc2b7d13320262fb03a44 Mon Sep 17 00:00:00 2001 From: Thomas Miceli Date: Sun, 19 Mar 2023 00:52:09 +0100 Subject: [PATCH] Fix number of files on fork --- internal/web/gist.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/web/gist.go b/internal/web/gist.go index de0705e..58181a1 100644 --- a/internal/web/gist.go +++ b/internal/web/gist.go @@ -388,6 +388,7 @@ func fork(ctx echo.Context) error { Private: gist.Private, UserID: currentUser.ID, ForkedID: gist.ID, + NbFiles: gist.NbFiles, } if err = newGist.CreateForked(); err != nil {