diff --git a/.env b/.env index 9ae1e59..c5d1ca7 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -VITE_API_URL=http://192.168.1.54:9528 \ No newline at end of file +VITE_API_URL=http://192.168.1.36:9527 \ No newline at end of file diff --git a/src/api/types.ts b/src/api/types.ts index b4d8cde..0d085ae 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -11,6 +11,10 @@ export type TreatyQuery = T extends (...args: any[]) => any ? NonNullable[0]>["query"]> : never; +export type TreatyBody = T extends (...args: any[]) => any + ? NonNullable[0]> + : never; + export type DepositFiatData = Treaty.Data; export type BalancesData = Treaty.Data; @@ -22,17 +26,17 @@ export type WithdrawBody = Omit[0], export type UserProfileData = Treaty.Data["userProfile"]; -export type UpdateUserProfileBody = TreatyQuery; +export type UpdateUserProfileBody = TreatyBody; export type RwaIssuanceProductsData = Treaty.Data; -export type RwaIssuanceProductBody = TreatyQuery; +export type RwaIssuanceProductBody = TreatyBody; export type RwaIssuanceCategoriesData = Treaty.Data; export type BankAccountsData = Treaty.Data; -export type BankAccountBody = TreatyQuery; +export type BankAccountBody = TreatyBody; export type BankAccountData = Treaty.Data; diff --git a/src/views/issue/issuing-apply/base.vue b/src/views/issue/issuing-apply/base.vue index ed073bc..169557e 100644 --- a/src/views/issue/issuing-apply/base.vue +++ b/src/views/issue/issuing-apply/base.vue @@ -106,7 +106,6 @@ function handleSubmit(values: GenericObject) {