formatting

This commit is contained in:
2021-08-01 20:58:35 -06:00
parent 69897192f5
commit 44525cba81
3 changed files with 4 additions and 15 deletions

View File

@@ -23,8 +23,9 @@ class Requests {
return NativeRequests.get(url, mapToDict(params), kwArgs);
}
static function mapToDict(?map:Map<String,String>) {
if (map == null) return null;
static function mapToDict(?map:Map<String, String>) {
if (map == null)
return null;
var dict = new Dict<String, String>();
for (key => value in map) {
dict.set(key, value);