Complete redo of content indexing and querying (#517)
Complete redo of data store Introduces live queries and live templates
This commit is contained in:
@@ -330,8 +330,11 @@ export class HttpServer {
|
||||
}
|
||||
const syscallCommand: SyscallRequest = body;
|
||||
try {
|
||||
const result = await this.system.localSyscall(
|
||||
syscallCommand.ctx,
|
||||
const plug = this.system.loadedPlugs.get(syscallCommand.ctx);
|
||||
if (!plug) {
|
||||
throw new Error(`Plug ${syscallCommand.ctx} not found`);
|
||||
}
|
||||
const result = await plug.syscall(
|
||||
syscallCommand.name,
|
||||
syscallCommand.args,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user