refactor: rename folder

This commit is contained in:
Riccardo
2024-07-07 22:01:55 +02:00
parent be3bd7993f
commit c570cc4d87
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,9 @@ export default function Modules() {
(async () => {
const response = await axios.get('/api/protected/customer-form');
const validatedResponse = CustomerFormListSchema.safeParse(response.data);
const validatedResponse = CustomerFormListSchema.safeParse(
response.data.data
);
if (!validatedResponse.success) {
console.error(validatedResponse.error);