From a915f2fe30346c65e33fcb8fc7424ca67c14d1ce Mon Sep 17 00:00:00 2001 From: dzdidi Date: Sun, 11 Feb 2024 17:22:28 +0000 Subject: [PATCH] rpc-handler: fix git Signed-off-by: dzdidi --- src/rpc-handlers/git.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rpc-handlers/git.js b/src/rpc-handlers/git.js index cbd6456..33c8413 100644 --- a/src/rpc-handlers/git.js +++ b/src/rpc-handlers/git.js @@ -1,4 +1,6 @@ const ACL = require('../acl') +const home = require('../home') +const { spawn } = require('child_process') async function getReposHandler (publicKey, req) { const { branch, url, userId } = await parseReq.bind(this)(publicKey, req)