refactor(*): use more sane path aliases

This commit is contained in:
parent ffaeee89ab
commit 60e564781d
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
2 changed files with 9 additions and 3 deletions

@ -0,0 +1,6 @@
import isIdNan from "./isIdNan";
import isAdmin from "./isAdmin";
import isLoggedIn from "./isLoggedIn";
import storyCheck from "./storyCheck";
import * as storyPrivileges from "./storyPrivileges";
export { isIdNan, isAdmin, isLoggedIn, storyCheck, storyPrivileges };

@ -1,6 +1,6 @@
import { messages } from "~/lib/server/constants";
import { Review } from "~/models/stories/review";
import isIdNan from "~/lib/server/middlewareButNotReally/isIdNan";
import { messages } from "@server/constants";
import { Review } from "@models/stories/review";
import isIdNan from "@server/middlewareButNotReally/isIdNan";
export default eventHandler(async (ev) => {
const revid = isIdNan(ev);