fixes deployment

This commit is contained in:
@wwwjim 2020-12-14 08:51:14 -08:00
parent b65301c947
commit 1f8d795b46

View File

@ -93,26 +93,26 @@ export const getSlatesByIds = async (data) => {
});
};
// export const deleteTrustRelationship = async (data) => {
// return await returnJSON(`/api/users/trust-delete`, {
// ...DEFAULT_OPTIONS,
// body: JSON.stringify({ data }),
// });
// };
export const deleteTrustRelationship = async (data) => {
return await returnJSON(`/api/users/trust-delete`, {
...DEFAULT_OPTIONS,
body: JSON.stringify({ data }),
});
};
// export const updateTrustRelationship = async (data) => {
// return await returnJSON(`/api/users/trust-update`, {
// ...DEFAULT_OPTIONS,
// body: JSON.stringify({ data }),
// });
// };
export const updateTrustRelationship = async (data) => {
return await returnJSON(`/api/users/trust-update`, {
...DEFAULT_OPTIONS,
body: JSON.stringify({ data }),
});
};
// export const createTrustRelationship = async (data) => {
// return await returnJSON(`/api/users/trust`, {
// ...DEFAULT_OPTIONS,
// body: JSON.stringify({ data }),
// });
// };
export const createTrustRelationship = async (data) => {
return await returnJSON(`/api/users/trust`, {
...DEFAULT_OPTIONS,
body: JSON.stringify({ data }),
});
};
export const createSubscription = async (data) => {
return await returnJSON(`/api/subscribe`, {