feat(ynab): add you need a budget app integration

This commit is contained in:
Rıdvan Akca
2024-01-17 18:36:34 +03:00
parent 953c5a5b5b
commit ce6ad9e0d3
12 changed files with 256 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
const addAuthHeader = ($, requestConfig) => {
if ($.auth.data?.accessToken) {
requestConfig.headers.Authorization = `${$.auth.data.tokenType} ${$.auth.data.accessToken}`;
}
return requestConfig;
};
export default addAuthHeader;