mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-26 02:24:44 +03:00
fixes deployment
This commit is contained in:
parent
b65301c947
commit
1f8d795b46
@ -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`, {
|
||||
|
Loading…
Reference in New Issue
Block a user