Add setup entrypoint

This commit is contained in:
Owen Schwartz 2024-12-22 12:33:49 -05:00
parent eb45fe8e49
commit 3d2d2043a9
4 changed files with 12 additions and 7 deletions

View file

@ -7,7 +7,7 @@ import response from "@server/utils/response";
import HttpCode from "@server/types/HttpCode";
import createHttpError from "http-errors";
import logger from "@server/logger";
import { createAdminRole } from "@server/db/ensureActions";
import { createAdminRole } from "@server/setup/ensureActions";
import config from "@server/config";
import { fromError } from "zod-validation-error";
import { defaultRoleAllowedActions } from "../role";