fix: ignore internalpath field when creating resource (#1868)

* fix/to_valid_token

* eslint

* revert

* fix/invalid_internalpath_file_upload
This commit is contained in:
CorrectRoadH 2023-06-30 23:50:55 +08:00 committed by GitHub
parent c9aa2eeb98
commit a108f5e212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ type Resource struct {
// Domain specific fields
Filename string `json:"filename"`
Blob []byte `json:"-"`
InternalPath string `json:"internalPath"`
InternalPath string `json:"-"`
ExternalLink string `json:"externalLink"`
Type string `json:"type"`
Size int64 `json:"size"`