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