pruebas
This commit is contained in:
@@ -55,7 +55,7 @@ export namespace AlaiAPI {
|
|||||||
location: string
|
location: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ApplyOrder = UpdateSubscriptionDTO
|
export type ApplyOrderDTO = UpdateSubscriptionDTO
|
||||||
|
|
||||||
export type Subscription = {
|
export type Subscription = {
|
||||||
id: string,
|
id: string,
|
||||||
|
|||||||
@@ -88,11 +88,13 @@ export class AlaiRepository {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ver estado del order
|
* Ver estado del order para debug
|
||||||
*/
|
*/
|
||||||
public async getOrder(orderId: string) {
|
public async getOrder(orderId: string) {
|
||||||
const ENDPOINT = `/v1/order/${orderId}`
|
const endpoint = `/v1/order/${orderId}`
|
||||||
// WIP
|
const promReq = this.httpClient.post<AlaiAPI.CreateOrderResponseDTO>(endpoint, undefined)
|
||||||
|
const res = await this.manageRequest(promReq)
|
||||||
|
return res
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user