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:
parent
2c6a0e383a
commit
09501cf2de
@ -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)) }
|
||||
|
Loading…
Reference in New Issue
Block a user