Skip to content

Conversation

@uanid
Copy link
Contributor

@uanid uanid commented Dec 23, 2021

Hello,

I saw #524, Also I tested with latest commits.
But Login to Github Enterprise Server with PAT not works. (See #527)
Because Github Etnerprise Server's API url pattern is https://${hostname}/api/v3.

Changes

This PR deduplicates api-url generate codes.

Github Enterprise API url reference

https://docs.github.com/en/[email protected]/rest/reference/users
image

@uanid uanid changed the title Delete duplicated generate api url code Deduplicate api-url generate code Dec 24, 2021
Copy link
Collaborator

@codebytere codebytere left a comment

Choose a reason for hiding this comment

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

Minor nit, otherwise good to go.

@uanid uanid requested a review from codebytere January 3, 2022 09:19
@pbsureja
Copy link

Thank you @uanid for fixing this and @codebytere for reviewing this 🙂 . Do we know whose approval from maintainers do we need here ?

@uanid uanid changed the title Deduplicate api-url generate code Fix Github Enterprise Login (Deduplicate api-url generate code) Aug 7, 2022
@Araxeus
Copy link
Contributor

Araxeus commented Feb 4, 2023

@pbsureja want to make the same PR in my fork? 🙂 https://github.com/Araxeus/gitify

@afonsojramos afonsojramos changed the title Fix Github Enterprise Login (Deduplicate api-url generate code) fix: github enterprise login Sep 14, 2023
Copy link
Member

@afonsojramos afonsojramos left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@afonsojramos afonsojramos merged commit e35c68b into gitify-app:main Sep 14, 2023
@uanid uanid deleted the feature/collect-generate-api-url branch September 14, 2023 02:08
@setchy setchy added the bug Something isn't working label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

6 participants