Commit befea358 authored by faisalhamdi's avatar faisalhamdi

update api

parent c3bd08d8
...@@ -134,7 +134,7 @@ export default class Perusahaan extends Component { ...@@ -134,7 +134,7 @@ export default class Perusahaan extends Component {
downloadFile = async () => { downloadFile = async () => {
let res = await fetch( let res = await fetch(
"https://trftia.eksad.com/tia-reporting-dev/public/attachment/download_file?fileName=CompanyTemplate&&fileType=xlsx" "https://tia.eksad.com/tia-reporting-dev/public/attachment/download_file?fileName=CompanyTemplate&&fileType=xlsx"
) )
res = await res.blob() res = await res.blob()
console.log(res) console.log(res)
...@@ -149,7 +149,7 @@ export default class Perusahaan extends Component { ...@@ -149,7 +149,7 @@ export default class Perusahaan extends Component {
downloadDataTable = async () => { downloadDataTable = async () => {
let res = await fetch( let res = await fetch(
"https://trftia.eksad.com/tia-reporting-dev/public/company/export_company" "https://tia.eksad.com/tia-reporting-dev/public/company/export_company"
) )
res = await res.blob() res = await res.blob()
console.log(res) console.log(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment