fix: currency code

This commit is contained in:
fPolic
2024-01-15 10:58:31 +01:00
parent aabe164793
commit 1d82294ba4
2 changed files with 4 additions and 6 deletions
@@ -48,7 +48,6 @@ export enum PaymentCollectionStatus {
}
type OptionalPaymentCollectionProps =
| "currency_code"
| "authorized_amount"
| "refunded_amount"
| "region_id"
@@ -63,8 +62,8 @@ export default class PaymentCollection {
@PrimaryKey({ columnType: "text" })
id: string
@Property({ columnType: "text", nullable: true })
currency_code: string | null
@Property({ columnType: "text" })
currency_code: string
@Property({
columnType: "numeric",
@@ -44,7 +44,6 @@ export enum PaymentSessionStatus {
}
type OptionalPaymentSessionProps =
| "currency_code"
| "data"
| "is_selected"
| "authorized_at"
@@ -57,8 +56,8 @@ export default class PaymentSession {
@PrimaryKey({ columnType: "text" })
id: string
@Property({ columnType: "text", nullable: true })
currency_code: string | null
@Property({ columnType: "text" })
currency_code: string
@Property({
columnType: "numeric",