Skip to content

Commit 94bef51

Browse files
authored
fix(vpc_gw): return Empty on EnableIPMobility (#1158)
1 parent d6be499 commit 94bef51

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

packages/clients/src/api/vpcgw/v1/api.gen.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -270,18 +270,14 @@ export class API extends ParentAPI {
270270
* calls after the first will return no error but have no effect.
271271
*
272272
* @param request - The request {@link EnableIPMobilityRequest}
273-
* @returns A Promise of Gateway
274273
*/
275274
enableIPMobility = (request: Readonly<EnableIPMobilityRequest>) =>
276-
this.client.fetch<Gateway>(
277-
{
278-
body: '{}',
279-
headers: jsonContentHeaders,
280-
method: 'POST',
281-
path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`,
282-
},
283-
unmarshalGateway,
284-
)
275+
this.client.fetch<void>({
276+
body: '{}',
277+
headers: jsonContentHeaders,
278+
method: 'POST',
279+
path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`,
280+
})
285281

286282
protected pageOfListGatewayNetworks = (
287283
request: Readonly<ListGatewayNetworksRequest> = {},

0 commit comments

Comments
 (0)