fix: attach admin user avatars
Deploy banu-front / deploy (push) Successful in 4m35s

This commit is contained in:
root
2026-07-30 13:55:30 +00:00
parent 90cf147362
commit c69a1babe5
3 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
import { object, string } from 'yup'
import { number, object, string } from 'yup'
import { passwordRule } from '@/constants/rules/passwordRule'
import { phoneNumberRule } from '@/constants/rules/phoneNumberRule'
import { nationalCodeRule } from '@/constants/rules/nationalCodeRule'
@@ -20,6 +20,7 @@ const baseUserShape = {
provinceId: string().nullable().notRequired(),
cityId: string().nullable().notRequired(),
address: string().nullable().notRequired(),
avatarMediaId: number().nullable().notRequired(),
}
export const userAddSchema = object().shape({