1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-12 08:40:04 +00:00

chore: code fixes

This commit is contained in:
Saad Jutt
2022-06-19 18:35:10 +05:00
parent dde293c852
commit b1a0fe7060
4 changed files with 13 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ runRouter.post('/execute', async (req, res) => {
if (error) return res.status(400).send(error.details[0].message)
try {
const response = await controller.executeSASCode(req, body)
const response = await controller.executeCode(req, body)
if (response instanceof Buffer) {
res.writeHead(200, (req as any).sasHeaders)