fix: ContentType shouldnt be a pointer
This commit is contained in:
parent
1cf7fe283a
commit
d708297651
|
@ -3,11 +3,11 @@ package metadata
|
|||
import "git.lumeweb.com/LumeWeb/libs5-go/encoding"
|
||||
|
||||
type WebAppMetadataFileReference struct {
|
||||
ContentType *string
|
||||
ContentType string
|
||||
Cid *encoding.CID
|
||||
}
|
||||
|
||||
func NewWebAppMetadataFileReference(cid *encoding.CID, contentType *string) *WebAppMetadataFileReference {
|
||||
func NewWebAppMetadataFileReference(cid *encoding.CID, contentType string) *WebAppMetadataFileReference {
|
||||
return &WebAppMetadataFileReference{
|
||||
Cid: cid,
|
||||
ContentType: contentType,
|
||||
|
|
Loading…
Reference in New Issue