refactor: zod validation and pr comments

This commit is contained in:
Christel Westerberg
2024-04-29 14:00:24 +02:00
parent 9f0b044daa
commit d9f1470eb7
31 changed files with 222 additions and 207 deletions

View File

@@ -1,7 +1,7 @@
import {
ContactConfig,
ContactFieldGroups,
} from "@/types/requests/contactConfig"
} from "@/server/routers/contentstack/contactConfig/output"
export function getValueFromContactConfig(
keyString: string,
@@ -16,4 +16,5 @@ export function getValueFromContactConfig(
return fieldGroup[key]
}
return undefined
}