Harden user management integration
This commit is contained in:
parent
73579d1e79
commit
847f4e9493
18 changed files with 394 additions and 111 deletions
|
|
@ -1,3 +1,7 @@
|
|||
import {
|
||||
WRITE_REQUEST_HEADER_NAME,
|
||||
WRITE_REQUEST_HEADER_VALUE,
|
||||
} from "../../shared/constants/request-security";
|
||||
import type {
|
||||
BuildingDto,
|
||||
CircuitListDto,
|
||||
|
|
@ -122,6 +126,7 @@ async function request<T>(url: string, init?: RequestInit): Promise<T> {
|
|||
...init,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
[WRITE_REQUEST_HEADER_NAME]: WRITE_REQUEST_HEADER_VALUE,
|
||||
...init?.headers,
|
||||
},
|
||||
cache: "no-store",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue