feat: support creating resource with external link (#988)

This commit is contained in:
boojack
2023-01-22 21:16:28 +08:00
committed by GitHub
parent 848ecd99ee
commit dd5a23e36e
5 changed files with 253 additions and 58 deletions

View File

@ -27,7 +27,7 @@ type ResourceCreate struct {
Filename string `json:"filename"`
Blob []byte `json:"-"`
ExternalLink string `json:"externalLink"`
Type string `json:"-"`
Type string `json:"type"`
Size int64 `json:"-"`
}