File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/clients/src/api/ipam/v1 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export const unmarshalIP = (data: unknown): IP => {
7676 region : data . region ,
7777 resource : data . resource ? unmarshalResource ( data . resource ) : undefined ,
7878 reverses : unmarshalArrayOfObject ( data . reverses , unmarshalReverse ) ,
79- source : unmarshalSource ( data . source ) ,
79+ source : data . source ? unmarshalSource ( data . source ) : undefined ,
8080 tags : data . tags ,
8181 updatedAt : unmarshalDate ( data . updated_at ) ,
8282 zone : data . zone ,
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export interface IP {
8686 /** Date the IP was last modified. */
8787 updatedAt ?: Date
8888 /** Source pool where the IP was booked in. */
89- source : Source
89+ source ? : Source
9090 /** Resource which the IP is attached to. */
9191 resource ?: Resource
9292 /** Tags for the IP. */
You can’t perform that action at this time.
0 commit comments