fix: is the root folder required (close #1633)

This commit is contained in:
Noah Hsu
2022-09-11 16:23:46 +08:00
parent fba1471ec4
commit 969018db37
3 changed files with 11 additions and 12 deletions

View File

@ -28,11 +28,11 @@ type IRootId interface {
}
type RootPath struct {
RootFolderPath string `json:"root_folder_path" required:"true"`
RootFolderPath string `json:"root_folder_path"`
}
type RootID struct {
RootFolderID string `json:"root_folder_id" required:"true"`
RootFolderID string `json:"root_folder_id"`
}
func (r RootPath) GetRootPath() string {