From dd79b9fa2afd331b40430e130e5c090b1f46b046 Mon Sep 17 00:00:00 2001 From: Mathias Oterhals Myklebust Date: Mon, 28 Oct 2024 12:38:55 +0100 Subject: [PATCH] feat(CustomerCase): use email type for project consultant identifiers --- studioShared/schemas/fields/customerCaseProjectInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studioShared/schemas/fields/customerCaseProjectInfo.ts b/studioShared/schemas/fields/customerCaseProjectInfo.ts index 89744d184..709c83746 100644 --- a/studioShared/schemas/fields/customerCaseProjectInfo.ts +++ b/studioShared/schemas/fields/customerCaseProjectInfo.ts @@ -71,7 +71,7 @@ export const customerCaseProjectInfo = defineField({ description: "The consultants for the project. Use employee emails (e.g. 'oms@variant.no').", type: "array", - of: [{ type: "string" }], + of: [{ type: "email" }], }), ], });