Commit 7be66fe5 authored by nanahira's avatar nanahira

fix

parent cc4f72a2
...@@ -142,7 +142,7 @@ export class Aragami { ...@@ -142,7 +142,7 @@ export class Aragami {
} }
async entries<T>(cl: ClassType<T>, prefix?: string): Promise<[string, T][]> { async entries<T>(cl: ClassType<T>, prefix?: string): Promise<[string, T][]> {
const entries = await this.driver.entries(this.getBaseKey(cl)); const entries = await this.driver.entries(this.getBaseKey(cl), prefix);
return entries.map(([key, buf]) => [key, this.decode(cl, buf)]); return entries.map(([key, buf]) => [key, this.decode(cl, buf)]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment