mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
added initial $record
This commit is contained in:
@@ -172,7 +172,9 @@ export class App<C extends Connection = Connection, Options extends AppOptions =
|
||||
|
||||
// load system controller
|
||||
guard.registerPermissions(Object.values(SystemPermissions));
|
||||
server.route("/api/system", new SystemController(this).getController());
|
||||
const systemController = new SystemController(this);
|
||||
systemController.registerMcp();
|
||||
server.route("/api/system", systemController.getController());
|
||||
|
||||
// emit built event
|
||||
$console.log("App built");
|
||||
|
||||
Reference in New Issue
Block a user