mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-22 20:42:40 +00:00
Fix number of files on fork
This commit is contained in:
parent
5bfd40f9fd
commit
be7e9ab385
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue