This commit is contained in:
2026-05-05 17:31:08 +02:00
parent 13944a64d2
commit eefb7c5a79
2 changed files with 6 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ export namespace AlaiAPI {
location: string
}
export type ApplyOrder = UpdateSubscriptionDTO
export type ApplyOrderDTO = UpdateSubscriptionDTO
export type Subscription = {
id: string,

View File

@@ -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
}
/**