fix: hooks

This commit is contained in:
Agusti Fernandez Pardo committed 2022-05-20 21:52:41 +02:00
1 parent f9e98228c7
commit 1f8c895900
4 files changed
+9 -12

No files matched your search

+1 -1
View File
@@ -177,7 +177,7 @@ export type SchedulesResponse = BaseResponse & {
// Webhook
export type WebhookResponse = BaseResponse & {
webhook?: Partial<Webhook>;
webhook?: Partial<Webhook> | null;
};
export type WebhooksResponse = BaseResponse & {
webhooks?: Partial<Webhook>[];
-1
View File
@@ -50,7 +50,6 @@ export const schemaWebhookReadPublic = Webhook.pick({
eventTypeId: true,
payloadTemplate: true,
eventTriggers: true,
/** @todo: find out why this breaks the api */
// eventType: true,
// app: true,
appId: true,