From 0ec072833c160e37bb4c9e7955bc986e8598f250 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:07:47 +0700 Subject: [PATCH] fix: allow null for reponsible area --- src/controllers/02-user-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/02-user-controller.ts b/src/controllers/02-user-controller.ts index adc513f..7c34b48 100644 --- a/src/controllers/02-user-controller.ts +++ b/src/controllers/02-user-controller.ts @@ -154,7 +154,7 @@ type UserUpdate = { sourceNationality?: string | null; importNationality?: string | null; trainingPlace?: string | null; - responsibleArea?: string[]; + responsibleArea?: string[] | null; birthDate?: Date | null; address?: string;