Add auth
Main workflow / Run (windows-latest) (push) Waiting to run
Main workflow / Run (ubuntu-latest) (push) Failing after 46s
Main workflow / Run (windows-latest) (push) Waiting to run
Main workflow / Run (ubuntu-latest) (push) Failing after 46s
This commit is contained in:
+9
@@ -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;
|
||||
}, {});
|
||||
}
|
||||
Reference in New Issue
Block a user