mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
refactor(nestjs): landed cost
This commit is contained in:
5
packages/server/src/utils/sanitize-model-name.ts
Normal file
5
packages/server/src/utils/sanitize-model-name.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { camelCase, upperFirst } from 'lodash';
|
||||
|
||||
export const sanitizeModelName = (modelName: string) => {
|
||||
return upperFirst(camelCase(modelName));
|
||||
}
|
||||
Reference in New Issue
Block a user