diff --git a/internal/service/model_upload.go b/internal/service/model_upload.go index 9d650be..5e27b88 100644 --- a/internal/service/model_upload.go +++ b/internal/service/model_upload.go @@ -169,6 +169,7 @@ func (cfg *SFTP) MarshalJSON() ([]byte, error) { MaxPacketSize int SkipDirectoryCreation bool + SkipChmodAfterUpload bool } return json.Marshal(Aux{ Hostname: cfg.Hostname, @@ -184,6 +185,7 @@ func (cfg *SFTP) MarshalJSON() ([]byte, error) { MaxPacketSize: cfg.MaxPacketSize, SkipDirectoryCreation: cfg.SkipDirectoryCreation, + SkipChmodAfterUpload: cfg.SkipChmodAfterUpload, }) }