diff --git a/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/infrastructure/database/repositories/JpaPriorNotificationUploadRepository.kt b/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/infrastructure/database/repositories/JpaPriorNotificationUploadRepository.kt index c796cefaaf..93017484c4 100644 --- a/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/infrastructure/database/repositories/JpaPriorNotificationUploadRepository.kt +++ b/backend/src/main/kotlin/fr/gouv/cnsp/monitorfish/infrastructure/database/repositories/JpaPriorNotificationUploadRepository.kt @@ -13,6 +13,7 @@ import org.springframework.transaction.annotation.Transactional class JpaPriorNotificationUploadRepository( private val dbPriorNotificationUploadRepository: DBPriorNotificationUploadRepository, ) : PriorNotificationUploadRepository { + @Transactional override fun deleteById(id: String) { dbPriorNotificationUploadRepository.deleteById(id) }