1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-09 23:40:06 +00:00

chore(refactor-api): remove sasjsExecutor file and move code to ExecutionController

This commit is contained in:
2021-10-22 19:01:14 +00:00
parent 20eb64a994
commit 5aeefb7955
4 changed files with 43 additions and 46 deletions

View File

@@ -3,7 +3,6 @@ import path from 'path'
import {
createFileTree,
getTreeExample,
sasjsExecutor,
SASjsDriveController,
ExecutionController,
FileUploadController
@@ -73,7 +72,7 @@ router.post('/SASjsApi/files', async (req, res) => {
})
router.get('/SASjsApi/executor', async (req, res) => {
const tree = sasjsExecutor()
const tree = new ExecutionController().buildDirectorytree()
res.status(200).send({ status: 'success', tree })
})