rename joke variable names
This commit is contained in:
parent
8697c2fe76
commit
4f38e3bbd1
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
import { kvdex as gate_keeping_the_database, collection, model } from "@olli/kvdex"
|
import { kvdex as kvdex, collection, model } from "@olli/kvdex"
|
||||||
import { openKv } from "@deno/kv"
|
import { openKv } from "@deno/kv"
|
||||||
import { z } from "zod"
|
import { z } from "zod"
|
||||||
|
|
||||||
|
@ -13,8 +13,8 @@ const session = z.object({
|
||||||
userId: z.string(),
|
userId: z.string(),
|
||||||
})
|
})
|
||||||
|
|
||||||
export const gate_keeping_this_too = await openKv()
|
export const kv = await openKv()
|
||||||
export const db = gate_keeping_the_database(gate_keeping_this_too, {
|
export const db = kvdex(kv, {
|
||||||
user: collection(user),
|
user: collection(user),
|
||||||
session: collection(session, {
|
session: collection(session, {
|
||||||
indices: {
|
indices: {
|
||||||
|
|
Loading…
Reference in a new issue