feat: refs #7189 add Accept-Language header to axios requests #1111

Merged
jorgep merged 5 commits from 7189-setAcceptLanguage into dev 2024-12-19 09:22:17 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 21ebc85405 - Show all commits

View File

@ -1,4 +1,3 @@
import { Notify } from 'quasar';
import { onRequest, onResponseError } from 'src/boot/axios';
import { describe, expect, it, vi } from 'vitest';
@ -27,6 +26,7 @@ describe('Axios boot', () => {
expect(resultConfig).toEqual(
expect.objectContaining({
headers: {
'Accept-Language': 'en-US',
Review

El por defecto que se pone aqui en los tests.

El por defecto que se pone aqui en los tests.
Authorization: 'DEFAULT_TOKEN',
},
})