diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-09-09 07:34:11 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-09-09 07:34:11 +0200 |
commit | 5495551071a3fdc36c38deb4c1cf6f4aa5b98bd4 (patch) | |
tree | adf7730b190618a0499e50a2d43cf1b850cddd16 /packages/merchant-backoffice-ui/src/schemas/index.ts | |
parent | 94cfcc875065f988815c31aaf8ebf36f75ac5983 (diff) | |
parent | 6c3cfa9be7a332c2cc8490f25ebd6c73c8244842 (diff) |
Merge branch 'master' into age-withdraw
Diffstat (limited to 'packages/merchant-backoffice-ui/src/schemas/index.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/src/schemas/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/schemas/index.ts b/packages/merchant-backoffice-ui/src/schemas/index.ts index 149761c55..4be77595b 100644 --- a/packages/merchant-backoffice-ui/src/schemas/index.ts +++ b/packages/merchant-backoffice-ui/src/schemas/index.ts @@ -123,7 +123,7 @@ export const InstanceSchema = yup.object().shape({ export const InstanceUpdateSchema = InstanceSchema.clone().omit(["id"]); export const InstanceCreateSchema = InstanceSchema.clone(); -export const AuthorizeTipSchema = yup.object().shape({ +export const AuthorizeRewardSchema = yup.object().shape({ justification: yup.string().required(), amount: yup .string() @@ -161,7 +161,7 @@ export const OrderCreateSchema = yup.object().shape({ currencyGreaterThan0, ), }), - extra: yup.string().test("extra", "is not a JSON format", stringIsValidJSON), + // extra: yup.object().test("extra", "is not a JSON format", stringIsValidJSON), payments: yup .object() .required() |