1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-01-22 05:32:28 +01:00

chore: remove not used CodingKeys

This commit is contained in:
CMK 2021-02-03 16:20:16 +08:00
parent 2c6a0e383a
commit 09501cf2de

View File

@ -115,14 +115,6 @@ extension Mastodon.API.OAuth {
self.scope = scope
}
enum CodingKeys: String, CodingKey {
case forceLogin = "force_login"
case responseType = "response_type"
case clientID
case redirectURI = "redirect_uri"
case scope
}
var queryItems: [URLQueryItem]? {
var items: [URLQueryItem] = []
forceLogin.flatMap { items.append(URLQueryItem(name: "force_login", value: $0)) }