fix(Webhook Node): Add tests for utils (no-changelog) (#10613)

This commit is contained in:
Shireen Missi
2024-09-02 13:18:13 +01:00
committed by GitHub
parent afc4d4e144
commit 8603946e23
2 changed files with 475 additions and 2 deletions

View File

@@ -10,8 +10,8 @@ import jwt from 'jsonwebtoken';
import { formatPrivateKey } from '../../utils/utilities';
import { WebhookAuthorizationError } from './error';
type WebhookParameters = {
httpMethod: string;
export type WebhookParameters = {
httpMethod: string | string[];
responseMode: string;
responseData: string;
responseCode?: number; //typeVersion <= 1.1