Skip to content

Commit

Permalink
this isnt' needed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcatania-usds committed Feb 12, 2025
1 parent f986e65 commit b2cce21
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions app/app/javascript/utilities/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { fetchInternal } from './fetchInternal';

export const PINWHEEL_USER_ACTION = '/api/pinwheel/user_action';
export const PINWHEEL_TOKENS_GENERATE = '/api/pinwheel/tokens';
export const SYNCHRONIZATIONS_FORM_ENDPOINT = '/en/cbv/synchronizations';

export const trackUserAction = (eventName, attributes, scope="pinwheel") => {
return fetchInternal(PINWHEEL_USER_ACTION, {
Expand All @@ -16,15 +15,4 @@ export const fetchToken = (response_type, id, locale) => {
method: 'post',
body: JSON.stringify({ response_type, id, locale }),
})
};

export const synchronizeCbvData = (userId) => {
const formData = new FormData().append('user[account_id]', userId)

return fetchInternal(SYNCHRONIZATIONS_FORM_ENDPOINT, {
method: 'post',
body: formData,
})
};


};

0 comments on commit b2cce21

Please sign in to comment.