fix: ContentType shouldnt be a pointer

This commit is contained in:
Derrick Hammer 2024-01-05 09:02:58 -05:00
parent 1cf7fe283a
commit d708297651
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -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,