mirror of
https://github.com/sasjs/server.git
synced 2026-01-16 10:20:05 +00:00
fix: show content of get file api
This commit is contained in:
@@ -25,7 +25,7 @@ const Main = (props: any) => {
|
|||||||
axios
|
axios
|
||||||
.get(`/SASjsApi/drive/file?filePath=${props.selectedFilePath}`)
|
.get(`/SASjsApi/drive/file?filePath=${props.selectedFilePath}`)
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
setFileContent(res.data.fileContent)
|
setFileContent(res.data)
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log(err)
|
console.log(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user