Commit c3bd08d8 authored by faisalhamdi's avatar faisalhamdi

Merge branch 'master' of http://103.44.149.204/d.arizona/tia-dev into faisal

parents 47f45cd6 8b60a0ae
...@@ -3,7 +3,7 @@ import apisauce from 'apisauce' ...@@ -3,7 +3,7 @@ import apisauce from 'apisauce'
import Constant from '../library/Constant' import Constant from '../library/Constant'
// our "constructor" // our "constructor"
const create = (baseURL = 'https://trftia.eksad.com/tia-reporting-dev/public/') => { const create = (baseURL = 'https://tia.eksad.com/tia-reporting-dev/public/') => {
// ------ // ------
// STEP 1 // STEP 1
// ------ // ------
......
...@@ -236,7 +236,7 @@ export default class UnitBisnis extends Component { ...@@ -236,7 +236,7 @@ export default class UnitBisnis 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=BusinessUnitTemplate&&fileType=xlsx" "https://tia.eksad.com/tia-reporting-dev/public/attachment/download_file?fileName=BusinessUnitTemplate&&fileType=xlsx"
) )
res = await res.blob() res = await res.blob()
console.log(res) console.log(res)
...@@ -251,7 +251,7 @@ export default class UnitBisnis extends Component { ...@@ -251,7 +251,7 @@ export default class UnitBisnis extends Component {
downloadDataTable = async () => { downloadDataTable = async () => {
let res = await fetch( let res = await fetch(
"https://trftia.eksad.com/tia-reporting-dev/public/business_unit/export_business_unit" "https://tia.eksad.com/tia-reporting-dev/public/business_unit/export_business_unit"
) )
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