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"
|
import "git.lumeweb.com/LumeWeb/libs5-go/encoding"
|
||||||
|
|
||||||
type WebAppMetadataFileReference struct {
|
type WebAppMetadataFileReference struct {
|
||||||
ContentType *string
|
ContentType string
|
||||||
Cid *encoding.CID
|
Cid *encoding.CID
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewWebAppMetadataFileReference(cid *encoding.CID, contentType *string) *WebAppMetadataFileReference {
|
func NewWebAppMetadataFileReference(cid *encoding.CID, contentType string) *WebAppMetadataFileReference {
|
||||||
return &WebAppMetadataFileReference{
|
return &WebAppMetadataFileReference{
|
||||||
Cid: cid,
|
Cid: cid,
|
||||||
ContentType: contentType,
|
ContentType: contentType,
|
||||||
|
|
Loading…
Reference in New Issue