mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
packages
This commit is contained in:
6
packages/hasura/src/utils/upperCaseValues.ts
Normal file
6
packages/hasura/src/utils/upperCaseValues.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import mapValues from "lodash/mapValues";
|
||||
|
||||
export const upperCaseValues = (obj: any): any => {
|
||||
if (!obj) return undefined;
|
||||
return mapValues(obj, (v: string) => v.toUpperCase());
|
||||
};
|
||||
Reference in New Issue
Block a user