GPR authentication support

This commit is contained in:
Alex Mullans authored and Alex Mullans committed 2019-10-03 16:35:25 -07:00
1 parent 6c0e2a2a6b
commit 6bd4969ec6
518 files changed
+95599 -2875

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
export function lowercaseKeys(object) {
if (!object) {
return {};
}
return Object.keys(object).reduce((newObj, key) => {
newObj[key.toLowerCase()] = object[key];
return newObj;
}, {});
}