fix: add CIDTypeDirectory to isCidManifest

This commit is contained in:
Derrick Hammer 2024-03-03 10:43:01 -05:00
parent f20b4ee916
commit 73623b8c36
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -2055,6 +2055,7 @@ func isCidManifest(cid *encoding.CID) bool {
types.CIDTypeMetadataMedia, types.CIDTypeMetadataMedia,
types.CIDTypeMetadataWebapp, types.CIDTypeMetadataWebapp,
types.CIDTypeUserIdentity, types.CIDTypeUserIdentity,
types.CIDTypeDirectory,
} }
return slices.Contains(mTypes, cid.Type) return slices.Contains(mTypes, cid.Type)