mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
7 lines
207 B
TypeScript
7 lines
207 B
TypeScript
const buildRequestHeaders = (authenticityToken: string) => ({
|
|
Accept: 'application/json',
|
|
'Content-Type': 'application/json',
|
|
'X-CSRF-Token': authenticityToken,
|
|
});
|
|
|
|
export default buildRequestHeaders; |