diff --git a/modules/grpc-engine/interface.proto b/modules/grpc-engine/interface.proto index 76ec26b91..a1869925b 100644 --- a/modules/grpc-engine/interface.proto +++ b/modules/grpc-engine/interface.proto @@ -9,8 +9,3 @@ message RenderOptions { string document string documentFilename } - -message RenderOptions { - string document - string documentFilename -} diff --git a/modules/grpc-engine/src/main.ts b/modules/grpc-engine/src/main.ts index 16bc20a80..4c2ee120c 100644 --- a/modules/grpc-engine/src/main.ts +++ b/modules/grpc-engine/src/main.ts @@ -35,7 +35,7 @@ export function startGRPCEngine( const server = new grpc.Server(); server.addProtoService(protoDescriptor.GRPCEngine.service, { render: async (call: any, callback: any) => { - const options = call.request as GRPCEngineRenderOptions; + const renderOptions = call.request as GRPCEngineRenderOptions; const html = await engine.render(renderOptions); // TODO: how to send errors? callback(null, html);