diff --git a/apps/backend/src/api/controllers/ContactController.ts b/apps/backend/src/api/controllers/ContactController.ts index ec09d6757..3f79b99a2 100644 --- a/apps/backend/src/api/controllers/ContactController.ts +++ b/apps/backend/src/api/controllers/ContactController.ts @@ -209,7 +209,7 @@ export class ContactController { async updateContact( @CurrentAuth({ required: true }) auth: AuthInfo, @TargetUser() target: Contact, - @PartialBody() data: Partial + @PartialBody() data: UpdateContactDto // Should be Partial ): Promise { return await ContactTransformer.updateOneByContact(auth, target, data); }