Commit cef59039 authored by nanahira's avatar nanahira

fix

parent 6a86b1e6
......@@ -78,7 +78,7 @@ export class Aragami {
const buf = this.encode(o);
await this.driver.set(
this.getBaseKey(options.prototype || o),
options.key || (await this.getKey(o)),
options.key || (await this.getKey(o, options.prototype)),
buf,
options.ttl ?? this.getTTL(options.prototype || o),
);
......
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