From 391449b76b7fa0b09b497457a525f165485e0c8f Mon Sep 17 00:00:00 2001 From: Mostafa Rashed <17770919+mrashed-dev@users.noreply.github.com> Date: Fri, 22 Dec 2023 12:09:57 -0500 Subject: [PATCH] Fix 'NylasBaseResponse' --- src/resources/contacts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/contacts.ts b/src/resources/contacts.ts index 67a52ecc..5fbabfe5 100644 --- a/src/resources/contacts.ts +++ b/src/resources/contacts.ts @@ -10,7 +10,7 @@ import { import { NylasResponse, NylasListResponse, - NylasDeleteResponse, + NylasBaseResponse, } from '../models/response.js'; import { AsyncListResponse, Resource } from './resource.js'; @@ -152,7 +152,7 @@ export class Contacts extends Resource { identifier, contactId, overrides, - }: DestroyContactParams & Overrides): Promise { + }: DestroyContactParams & Overrides): Promise { return super._destroy({ path: `/v3/grants/${identifier}/contacts/${contactId}`, overrides,