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