chore: remove not used CodingKeys

This commit is contained in:
CMK 2021-02-03 16:20:16 +08:00
parent 2c6a0e383a
commit 09501cf2de
1 changed files with 0 additions and 8 deletions

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)) }