From 64601a4b54e801f74eea8d2d254f173ea6a50430 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Mon, 24 May 2021 15:44:12 +0800 Subject: [PATCH] hide folder in response --- internal/pkg/database/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/database/database.go b/internal/pkg/database/database.go index a235437..5063505 100644 --- a/internal/pkg/database/database.go +++ b/internal/pkg/database/database.go @@ -75,7 +75,7 @@ type File struct { type Folder struct { Db *Database `json:"-"` ID int64 `json:"id"` - Folder string `json:"folder"` + Folder string `json:"-"` Foldername string `json:"foldername"` }