Unverified Commit a108f5e2 authored by CorrectRoadH's avatar CorrectRoadH Committed by GitHub

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

* fix/to_valid_token

* eslint

* revert

* fix/invalid_internalpath_file_upload
parent c9aa2eeb
...@@ -11,7 +11,7 @@ type Resource struct { ...@@ -11,7 +11,7 @@ type Resource struct {
// Domain specific fields // Domain specific fields
Filename string `json:"filename"` Filename string `json:"filename"`
Blob []byte `json:"-"` Blob []byte `json:"-"`
InternalPath string `json:"internalPath"` InternalPath string `json:"-"`
ExternalLink string `json:"externalLink"` ExternalLink string `json:"externalLink"`
Type string `json:"type"` Type string `json:"type"`
Size int64 `json:"size"` Size int64 `json:"size"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment