@freteclick/quasar-financial-ui 1.0.109 → 1.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freteclick/quasar-financial-ui",
3
- "version": "1.0.109",
3
+ "version": "1.0.110",
4
4
  "author": "FreteClick",
5
5
  "description": "FreteClick financial Quasar UI Component",
6
6
  "license": "MIT",
@@ -168,7 +168,12 @@ export default {
168
168
 
169
169
  const url = ENTRYPOINT + `finance/${this.invoiceId}/bank/sicred/download?timestamp=${new Date().getTime()}`;
170
170
 
171
- axios.get(url, { responseType: 'blob' })
171
+ axios.get(url, {
172
+ responseType: 'blob',
173
+ headers: {
174
+ 'API-TOKEN': this.$store.getters['auth/user']?.token || ''
175
+ }
176
+ })
172
177
  .then(response => {
173
178
  const blob = new Blob([response.data], { type: 'application/pdf' });
174
179
  const blobUrl = URL.createObjectURL(blob);