Removing types

pull/5501/head
Leo Giovanetti 2022-11-15 16:56:53 -03:00
parent 749d0d9bb9
commit 1ec5ed8de2
1 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,4 @@
import client from "@sendgrid/client";
import { ClientRequest } from "@sendgrid/client/src/request";
import { ClientResponse } from "@sendgrid/client/src/response";
import logger from "@calcom/lib/logger";
@ -65,7 +63,7 @@ export default class Sendgrid {
return username;
};
public async sendgridRequest<R = ClientResponse>(data: ClientRequest): Promise<R> {
public async sendgridRequest<R>(data: any): Promise<R> {
this.log.debug("sendgridRequest:request", data);
const results = await client.request(data);
this.log.debug("sendgridRequest:results", results);