mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-09 00:23:20 +01:00
11 lines
239 B
Swift
11 lines
239 B
Swift
import Foundation
|
|
|
|
extension Dictionary {
|
|
var queryString: String {
|
|
return self
|
|
.compactMap({ (key, value) -> String in
|
|
return "\(key)=\(value)"
|
|
})
|
|
.joined(separator: "&")
|
|
}
|
|
} |