Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit d281440

Browse files
authored
fix host function definition for getVector (#175)
1 parent c94e741 commit d281440

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/assembly/collections.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ declare function hostGetNamespacesFromCollection(collection: string): string[];
213213
declare function hostGetVector(
214214
collection: string,
215215
namespace: string,
216+
searchMethod: string,
216217
key: string,
217218
): f32[];
218219

@@ -617,5 +618,5 @@ export function getVector(
617618
console.error("Key is empty.");
618619
return [];
619620
}
620-
return hostGetVector(collection, namespace, key);
621+
return hostGetVector(collection, namespace, searchMethod, key);
621622
}

0 commit comments

Comments
 (0)