From 92d9fc5c9f7dd8eade1b049ba057352fe70f7141 Mon Sep 17 00:00:00 2001 From: ledouxm Date: Mon, 21 Oct 2024 09:27:17 +0200 Subject: [PATCH] fix: correctly sync pictures --- packages/frontend/src/contexts/AuthContext.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frontend/src/contexts/AuthContext.tsx b/packages/frontend/src/contexts/AuthContext.tsx index b936ad3c..0c735f10 100644 --- a/packages/frontend/src/contexts/AuthContext.tsx +++ b/packages/frontend/src/contexts/AuthContext.tsx @@ -69,6 +69,7 @@ export const AuthProvider = ({ children }: PropsWithChildren) => { }, include: { user: true, + pictures: true, }, }); await electric.db.service_instructeurs.sync({ where: { udap_id: data!.user!.udap_id } });