fix: value is a map

This commit is contained in:
Derrick Hammer 2023-11-18 06:52:07 -05:00
parent 443fdcb14d
commit 9c5d417857
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 3 deletions

View File

@ -122,11 +122,11 @@ export class S5Node {
if (!map.has(type)) return; if (!map.has(type)) return;
map.get(type)!.forEach((value, key) => { map.get(type)!.forEach((value, key) => {
if (value[3] >= ts) { if (value.get(3) >= ts) {
const storageLocation = new StorageLocation( const storageLocation = new StorageLocation(
type, type,
value[1].map((v: string) => v), // Assuming value[1] is an array of strings value.get(1).map((v: string) => v), // Assuming value[1] is an array of strings
value[3], value.get(3),
); );
// Assuming providerMessage is a property of StorageLocation // Assuming providerMessage is a property of StorageLocation