forked from zelo72/mastodon-ios
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
|
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 queryItems: [URLQueryItem]? {
|
||||||
var items: [URLQueryItem] = []
|
var items: [URLQueryItem] = []
|
||||||
forceLogin.flatMap { items.append(URLQueryItem(name: "force_login", value: $0)) }
|
forceLogin.flatMap { items.append(URLQueryItem(name: "force_login", value: $0)) }
|
||||||
|
|
Loading…
Reference in New Issue