Skip to content

Commit 7c9ee1d

Browse files
committed
Fix GLS shipment unit service link
1 parent b7e9ff2 commit 7c9ee1d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

actions/gls-action/scripts/generateDocs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ async function generateFunctions(sdk: ActionSdk): Promise<string> {
292292
function getLinkFromType(typeName?: string) {
293293
if (!typeName || !typeName.startsWith("GLS_")) return typeName
294294
switch (typeName) { // Some edge cases
295-
case "SHIPMENT_UNIT_SERVICE": {
296-
typeName = "SHIPMENT_UNIT$Service"
295+
case "GLS_SHIPMENT_UNIT_SERVICE": {
296+
typeName = "GLS_SHIPMENT_UNIT$Service"
297297
break
298298
}
299299
}

docs/Actions/GLS/functions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The GLS Action exposes 26 functions grouped into three categories:
2222
| partnerParcelNumber | Partner parcel number | string | No | The partner parcel number for the shipment unit. Max length is 50 characters. |
2323
| note1 | Note 1 | string | No | Note 1 for the shipment unit. Max length is 50 characters. |
2424
| note2 | Note 2 | string | No | Note 2 for the shipment unit. Max length is 50 characters. |
25-
| shipmentUnitService | Shipment unit service | [GLS_SHIPMENT_UNIT_SERVICE](./types.mdx#gls_shipment_unit_service) | Yes | The service associated with the shipment unit. |
25+
| shipmentUnitService | Shipment unit service | [GLS_SHIPMENT_UNIT$Service](./types.mdx#gls_shipment_unitservice) | Yes | The service associated with the shipment unit. |
2626

2727
Return Type: [GLS_SHIPMENT_UNIT](./types.mdx#gls_shipment_unit)
2828

0 commit comments

Comments
 (0)