fix: add CIDTypeDirectory to isCidManifest
This commit is contained in:
parent
f20b4ee916
commit
73623b8c36
|
@ -2055,6 +2055,7 @@ func isCidManifest(cid *encoding.CID) bool {
|
|||
types.CIDTypeMetadataMedia,
|
||||
types.CIDTypeMetadataWebapp,
|
||||
types.CIDTypeUserIdentity,
|
||||
types.CIDTypeDirectory,
|
||||
}
|
||||
|
||||
return slices.Contains(mTypes, cid.Type)
|
||||
|
|
Loading…
Reference in New Issue