fix(prod): sync production prisma schema, fix /testimonials endpoint and lazy routes
Deploy Canina / deploy (push) Has been cancelled
Deploy Canina / deploy (push) Has been cancelled
This commit is contained in:
1 parent
387519ff6b
commit
83dce41715
3 files changed
+5
-4
No files matched your search
@@ -26,7 +26,7 @@ export default function TestimonialsSection() {
|
||||
async function loadTestimonials() {
|
||||
try {
|
||||
setIsLoading(true);
|
||||
const res = await api.get('/cms/testimonials');
|
||||
const res = await api.get('/testimonials');
|
||||
const raw = res.data;
|
||||
const list = Array.isArray(raw?.testimonials)
|
||||
? raw.testimonials
|
||||
|
||||
Reference in new issue
Block a user