fix : increase doante amount to 100k
This commit is contained in:
@@ -71,7 +71,7 @@ const Schema = z
|
|||||||
amount: z.coerce
|
amount: z.coerce
|
||||||
.number("จำนวนต้องเป็นตัวเลข")
|
.number("จำนวนต้องเป็นตัวเลข")
|
||||||
.min(1, "โดเนทขั้นต่ำ 1 บาท")
|
.min(1, "โดเนทขั้นต่ำ 1 บาท")
|
||||||
.max(10000, "โดเนทได้ไม่เกิน 1 หมื่นบาท"),
|
.max(100000, "โดเนทได้ไม่เกิน 1 แสนบาท"),
|
||||||
image: z.file().optional(),
|
image: z.file().optional(),
|
||||||
})
|
})
|
||||||
.and(
|
.and(
|
||||||
|
|||||||
Reference in New Issue
Block a user