From 45d49b38f7056fa458f79c4c60d2b17a130e543a Mon Sep 17 00:00:00 2001 From: Mark M2 Macbook Date: Sat, 9 May 2026 10:54:49 +0200 Subject: [PATCH] tolto upsert nel upload documenti (cozzava con rls) --- lib/features/attachments/data/attachments_repository.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/features/attachments/data/attachments_repository.dart b/lib/features/attachments/data/attachments_repository.dart index 037db97..866ab30 100644 --- a/lib/features/attachments/data/attachments_repository.dart +++ b/lib/features/attachments/data/attachments_repository.dart @@ -81,10 +81,7 @@ class AttachmentsRepository { .uploadBinary( storagePath, pickedFile.bytes!, - fileOptions: FileOptions( - upsert: true, - contentType: _guessContentType(extension), - ), + fileOptions: FileOptions(contentType: _guessContentType(extension)), ); // 2. Creiamo la mappa per il DB dinamicamente