Skip to content

Commit 245a263

Browse files
blvaCopilot
andauthored
Update scripts/apply.ts
Co-authored-by: Copilot <[email protected]>
1 parent e72f2c2 commit 245a263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/apply.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async function main() {
8484
operationId: operation.operationId || "",
8585
requiredParams,
8686
hasResponseBody,
87-
tag: operation.tags && operation.tags.length > 0 && operation.tags[0] ? operation.tags[0] : "",
87+
tag: operation.tags?.[0] ?? "",
8888
});
8989
}
9090
}

0 commit comments

Comments
 (0)