import { PostgreSQL } from "./types" ; import { site_license_hook } from "./site-license/hook" ; export async function project_action_request_pre_hook ( db , action , project_id , dbg ) { if ( action == "start" || action == "restart" ) { dbg ( "project_action_request_pre_hook -- doing site_license hook" ) ; await site_license_hook ( db , project_id ) ; } }