Merge branch 'bugfix/merge-conflict' into 'develop'
fix: merge conflict See merge request witapp/aura-webapp!61
This commit is contained in:
commit
ba080d3d4e
@ -5,9 +5,7 @@ interface Payload {
|
|||||||
token: string;
|
token: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PayloadGet extends Payload {
|
export type PayloadGet = Payload;
|
||||||
id: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface PayloadPost extends Payload {
|
export interface PayloadPost extends Payload {
|
||||||
data: {
|
data: {
|
||||||
@ -75,8 +73,7 @@ export const createRequestPost = ({ data, token }: PayloadPost): Request => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
export const createRequestGet = ({ id, token }: PayloadGet): Request => {
|
export const createRequestGet = ({ token }: PayloadGet): Request => {
|
||||||
id;
|
|
||||||
const url = new URL(routes.server.dApiTestPaymentProducts());
|
const url = new URL(routes.server.dApiTestPaymentProducts());
|
||||||
return new Request(url, { method: "GET", headers: getAuthHeaders(token) });
|
return new Request(url, { method: "GET", headers: getAuthHeaders(token) });
|
||||||
};
|
};
|
||||||
|
|||||||
@ -117,7 +117,6 @@ function PaymentWithEmailPage() {
|
|||||||
console.log(token);
|
console.log(token);
|
||||||
|
|
||||||
const productsSinglePayment = await api.getSinglePaymentProducts({
|
const productsSinglePayment = await api.getSinglePaymentProducts({
|
||||||
id: "1",
|
|
||||||
token,
|
token,
|
||||||
});
|
});
|
||||||
const { productId } = productsSinglePayment[0];
|
const { productId } = productsSinglePayment[0];
|
||||||
|
|||||||
@ -7,7 +7,6 @@ export const apiHost = "https://api-web.aura.wit.life";
|
|||||||
const dApiHost = isProduction ? "https://d.api.witapps.us" : "https://dev.api.witapps.us"
|
const dApiHost = isProduction ? "https://d.api.witapps.us" : "https://dev.api.witapps.us"
|
||||||
const siteHost = "https://aura.wit.life";
|
const siteHost = "https://aura.wit.life";
|
||||||
const prefix = "api/v1";
|
const prefix = "api/v1";
|
||||||
const dApiHost = "https://dev.api.witapps.us";
|
|
||||||
|
|
||||||
const routes = {
|
const routes = {
|
||||||
client: {
|
client: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user