fosrl.pangolin/server/setup/index.ts

7 lines
297 B
TypeScript
Raw Normal View History

2024-12-22 12:33:49 -05:00
import { ensureActions } from "./ensureActions";
import { copyInConfig } from "./copyInConfig";
export async function runSetupFunctions() {
await ensureActions(); // make sure all of the actions are in the db and the roles
await copyInConfig(); // copy in the config to the db as needed
}