Removing types
parent
749d0d9bb9
commit
1ec5ed8de2
|
@ -1,6 +1,4 @@
|
||||||
import client from "@sendgrid/client";
|
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";
|
import logger from "@calcom/lib/logger";
|
||||||
|
|
||||||
|
@ -65,7 +63,7 @@ export default class Sendgrid {
|
||||||
return username;
|
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);
|
this.log.debug("sendgridRequest:request", data);
|
||||||
const results = await client.request(data);
|
const results = await client.request(data);
|
||||||
this.log.debug("sendgridRequest:results", results);
|
this.log.debug("sendgridRequest:results", results);
|
||||||
|
|
Loading…
Reference in New Issue