Explorar el Código

fetchUtil, accept application/json

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi hace 1 año
padre
commit
e89668fa55
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/app/utils/fetchUtil.ts

+ 1
- 0
src/app/utils/fetchUtil.ts Ver fichero

@@ -15,6 +15,7 @@ export const serverFetch: typeof fetch = async (input, init) => {
...(accessToken
? {
Authorization: `Bearer ${accessToken}`,
Accept: "application/json"
}
: {}),
},


Cargando…
Cancelar
Guardar