mirror of
https://github.com/PretendoNetwork/miiverse-api.git
synced 2026-08-19 23:24:05 -05:00
remove unused mapToObject function
This commit is contained in:
@@ -187,8 +187,4 @@ export function getValueFromHeaders(headers: IncomingHttpHeaders, key: string):
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
export function mapToObject(map: Map<any, any>): object {
|
||||
return Object.fromEntries(Array.from(map.entries(), ([k, v]) => v instanceof Map ? [k, mapToObject(v)] : [k, v]));
|
||||
}
|
||||
Reference in New Issue
Block a user