Skip to content

Commit 890ef05

Browse files
committed
fix: reorder
1 parent 7d68d33 commit 890ef05

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

endpoints/endpoints.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ var Odnoklassniki = oauth2.Endpoint{
146146
TokenURL: "https://api.odnoklassniki.ru/oauth/token.do",
147147
}
148148

149+
// Patreon is the endpoint for Patreon.
150+
var Patreon = oauth2.Endpoint{
151+
AuthURL: "https://www.patreon.com/oauth2/authorize",
152+
TokenURL: "https://www.patreon.com/api/oauth2/token",
153+
}
154+
149155
// PayPal is the endpoint for PayPal.
150156
var PayPal = oauth2.Endpoint{
151157
AuthURL: "https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize",
@@ -218,12 +224,6 @@ var Zoom = oauth2.Endpoint{
218224
TokenURL: "https://zoom.us/oauth/token",
219225
}
220226

221-
// Patreon is the endpoint for Patreon.
222-
var Patreon = oauth2.Endpoint{
223-
AuthURL: "https://www.patreon.com/oauth2/authorize",
224-
TokenURL: "https://www.patreon.com/api/oauth2/token",
225-
}
226-
227227
// AzureAD returns a new oauth2.Endpoint for the given tenant at Azure Active Directory.
228228
// If tenant is empty, it uses the tenant called `common`.
229229
//

0 commit comments

Comments
 (0)