refactor(server/utils): update storyQuerier.ts

make paths and imports more concise and correct
This commit is contained in:
parent 1a99cf6fb5
commit e62924f6ec
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -1,7 +1,7 @@
import type { H3Event, EventHandlerRequest } from "h3";
import { Challenge } from "@models/challenges/gen";
import { Story } from "@models/stories";
import isIdNan from "@server/middlewareButNotReally/isIdNan";
import { isIdNan } from "@server/middlewareButNotReally";
export default async function (ev: H3Event<EventHandlerRequest>) {
const id = isIdNan(ev);
const chapterIndex = ev.context.chapterIndex;