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:
@@ -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 })
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user