Skip to content

Conversation

@Chhavi-Mandowara
Copy link
Contributor

No description provided.

@Chhavi-Mandowara Chhavi-Mandowara requested a review from a team as a code owner March 26, 2025 12:22
@Chhavi-Mandowara Chhavi-Mandowara requested a review from a team March 26, 2025 12:22
@venky0195 venky0195 requested a review from Copilot March 26, 2025 12:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses the HPE_INVALID_HEADER_TOKEN error when creating a new GitHub project by refactoring how API headers are defined.

  • Consolidates API header construction in a single variable to reduce code duplication
  • Applies conditional header inclusion based on configuration values
Comments suppressed due to low confidence (1)

src/base-command.ts:212

  • [nitpick] Consider renaming 'organization_uid' to use a consistent header naming convention (e.g., 'x-organization-uid'), in line with 'x-project-uid'.
headers['organization_uid'] = organizationUid;

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@Chhavi-Mandowara Chhavi-Mandowara merged commit 26f5bc2 into development Mar 26, 2025
4 checks passed
@Chhavi-Mandowara Chhavi-Mandowara deleted the CL-1627 branch March 26, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants