From bf2f2c961b723948732b6c466f025fa6775fd86f Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Fri, 3 Nov 2023 12:41:30 +0530 Subject: [PATCH] fix: revert locale not null changes (#384) * fix: revert locale not null changes * fix: revert locale not null changes --- admin.yaml | 2 +- reference/admin.yaml | 2 +- src/components/schemas/fields.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin.yaml b/admin.yaml index cc22e835d..d1817fc5a 100644 --- a/admin.yaml +++ b/admin.yaml @@ -1556,7 +1556,7 @@ components: Mobile number of the employee locale: type: object - nullable: false + nullable: true additionalProperties: false properties: abbreviation: diff --git a/reference/admin.yaml b/reference/admin.yaml index 0cf045a85..a54b53492 100644 --- a/reference/admin.yaml +++ b/reference/admin.yaml @@ -1614,7 +1614,7 @@ components: pattern: /^(\+\d{1,3}[- ]?)?\d{10}$/ locale: type: object - nullable: false + nullable: true additionalProperties: false properties: abbreviation: diff --git a/src/components/schemas/fields.yaml b/src/components/schemas/fields.yaml index 0809627d3..e41494be3 100644 --- a/src/components/schemas/fields.yaml +++ b/src/components/schemas/fields.yaml @@ -1309,7 +1309,7 @@ delegatees: locale: type: object - nullable: False + nullable: True additionalProperties: False properties: abbreviation: