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

chore: modify the implementation files and executor api

This commit is contained in:
2021-10-18 19:50:30 +00:00
parent 91e2e2bc4a
commit a42a1693c2
3 changed files with 25 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ const Main = (props: any) => {
if (props.selectedFilePath !== '') {
setIsLoading(true)
axios
.get(`${baseUrl}/SASjsApi/files?filepath=${props.selectedFilePath}`)
.get(`${baseUrl}/SASjsApi/files?filePath=${props.selectedFilePath}`)
.then((res: any) => {
setIsLoading(false)
setFileContent(res.data.fileContent)