Skip to content

Commit 84d709f

Browse files
authored
feat: ADD PKR to asset list (#2094)
ADD PKR to asset list
1 parent ae4c5b0 commit 84d709f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

packages/boutique/backend/src/order/controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class OrderController implements IOrderController {
8686
{ orderItems: products },
8787
trx
8888
)
89-
return await newOrder.calcaulateTotalAmount(trx)
89+
return await newOrder.calculateTotalAmount(trx)
9090
})
9191

9292
const grant = await this.openPayments.preparePayment({
@@ -231,7 +231,7 @@ export class OrderController implements IOrderController {
231231
{ orderItems: args.products },
232232
trx
233233
)
234-
return await newOrder.calcaulateTotalAmount(trx)
234+
return await newOrder.calculateTotalAmount(trx)
235235
})
236236
const tokenInfo = await this.openPayments.instantBuy({ order, ...args })
237237

packages/boutique/backend/src/order/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Order extends BaseModel {
2525
public orderItems!: OrderItem[]
2626
public payments!: Payment
2727

28-
async calcaulateTotalAmount(trx: TransactionOrKnex): Promise<Order> {
28+
async calculateTotalAmount(trx: TransactionOrKnex): Promise<Order> {
2929
const { totalAmount } = (await OrderItem.query(trx)
3030
.where({
3131
orderId: this.id

packages/wallet/backend/src/gatehub/consts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ export const SANDBOX_VAULT_IDS: Record<string, string> = {
3636
SGD: 'e2914c33-2e57-49a5-ac06-25c006497b3d',
3737
CAD: 'bd5af6fe-5d92-4b20-9bd4-1baa52b7a02e',
3838
EGG: '9a550347-799e-4c10-9142-f1a2e1c084e7',
39-
PEB: '0ba2b0d1-b7a2-416c-a4ac-1cb3e5281300'
39+
PEB: '0ba2b0d1-b7a2-416c-a4ac-1cb3e5281300',
40+
PKR: '2868b4e5-7178-4945-8ec5-8208fac2a22d'
4041
}
4142
export const PRODUCTION_VAULT_IDS: Record<string, string> = {
4243
USD: '5e1ff913-96d4-45ab-b7a3-04197a59fe06',

0 commit comments

Comments
 (0)