fix(auth): make things work
This commit is contained in:
@@ -28,9 +28,7 @@ export async function resolve(url: string, lang = Lang.en) {
|
||||
const validatedData = validateEntryResolveSchema.safeParse(data)
|
||||
|
||||
if (!validatedData.success) {
|
||||
console.error("Bad validation for `validateContentTypeDataSchema`")
|
||||
console.error(validatedData.error)
|
||||
throw internalServerError()
|
||||
throw internalServerError(validatedData.error)
|
||||
}
|
||||
|
||||
for (const value of Object.values(validatedData.data)) {
|
||||
|
||||
Reference in New Issue
Block a user