This is an automated email from the ASF dual-hosted git repository. ocket8888 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficcontrol-trafficops-types.git
commit 3181a7a54f1dadc9eacbed92f0a7a6f3fb56967a Author: ocket8888 <[email protected]> AuthorDate: Fri Jul 8 10:37:46 2022 -0600 Fix CDNFederations requiring an optional property in requests --- package-lock.json | 2 +- package.json | 2 +- src/federation.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 586db72..7f38de9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "trafficops-types", - "version": "3.1.0-beta-11", + "version": "3.1.0-beta-12", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 4bfeb52..be4aee6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "trafficops-types", - "version": "3.1.0-beta-11", + "version": "3.1.0-beta-12", "description": "A library for dealing with Apache Traffic Control objects", "main": "dist/index.js", "scripts": { diff --git a/src/federation.ts b/src/federation.ts index 5a1de6b..fe33496 100644 --- a/src/federation.ts +++ b/src/federation.ts @@ -52,7 +52,7 @@ export interface PostResponseCDNFederation { */ export interface RequestCDNFederation { cname: string; - description: string; + description?: string | null; /** In hours. */ ttl: number; }
