From ffa9f63c057179abeda0a82d504645b7fc522e05 Mon Sep 17 00:00:00 2001 From: Vins Date: Mon, 24 Jul 2023 16:33:57 +0200 Subject: [PATCH] Removed connect office on PUT documentType --- src/common/repositories/DocumentTypesRepository.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/common/repositories/DocumentTypesRepository.ts b/src/common/repositories/DocumentTypesRepository.ts index f395bc91..a8b3ad3f 100644 --- a/src/common/repositories/DocumentTypesRepository.ts +++ b/src/common/repositories/DocumentTypesRepository.ts @@ -56,11 +56,6 @@ export default class DocumentTypesRepository extends BaseRepository { public_description: documentType.public_description, private_description: documentType.private_description, archived_at: documentType.archived_at, - office: { - connect: { - uid: documentType.office!.uid, - }, - }, }, };