const {data: response} = await getFile()
const uInt8Array = new Uint8Array(response)
let i = uInt8Array.length
const biStr = new Array(i)
while (i--) {
biStr[i] = String.fromCharCode(uInt8Array[i])
}
const data = biStr.join('')
const base64 = window.btoa(data)
const link = document.querySelector('#uniqId')
link.href = 'data:image/png;base64,' + base64
responseData = 'arraybuffer'