From 44d07ac4018aa625d45139ab37bd5c127292a19a Mon Sep 17 00:00:00 2001 From: boojack Date: Sun, 7 Aug 2022 07:07:04 +0800 Subject: [PATCH] chore: hide resource `blob` field --- api/resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/resource.go b/api/resource.go index 4589add1e..203fb027b 100644 --- a/api/resource.go +++ b/api/resource.go @@ -10,7 +10,7 @@ type Resource struct { // Domain specific fields Filename string `json:"filename"` - Blob []byte `json:"blob"` + Blob []byte `json:"-"` Type string `json:"type"` Size int64 `json:"size"` }