Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 3de8022

Browse files
authored
Remove an usage of Alamofire API (#837)
2 parents 90e0193 + c06ba9a commit 3de8022

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WordPressAuthenticator/GoogleSignIn/URLRequest+GoogleSignIn.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ extension URLRequest {
33
static func googleSignInTokenRequest(
44
body: OAuthTokenRequestBody
55
) throws -> URLRequest {
6-
var request = try URLRequest(url: URL.googleSignInOAuthTokenURL, method: .post)
6+
var request = URLRequest(url: URL.googleSignInOAuthTokenURL)
7+
request.httpMethod = "POST"
78

89
request.setValue(
910
"application/x-www-form-urlencoded; charset=UTF-8",

0 commit comments

Comments
 (0)